Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

CSV Files

Hi

I need to create CSV file...

but the same way as I did for excel using CREATEOBJECT("EXCEL.APPLICATION")

Set XLApp=CREATEOBJECT("EXCEL.APPLICATION")

So how can I use CreateObject to Create CSV files..

Regards

Avadhoot

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You don't need to create an application object to export to csv. Just use the Export member:

Sub ExportToCSV

set obj= ActiveDocument.GetSheetObject("CH01")

obj .Export "C:\File.csv", ", "

End Sub


talk is cheap, supply exceeds demand