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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
thomaswrieck
Partner - Creator
Partner - Creator

storing data to xls format

Hi,

I need to store table data from qlikview to excel (all from script, nothing manual) and I couldn't find a build-in solution for this.

After some investigations the idea I have is to create a table object via a macro (using CreateTable) and store this one to excel using obj.Export.

I'm not familiar with this macro stuff so I would be happy If someone could help me out.

Thanks a lot

Thomas

Labels (1)
3 Replies
suniljain
Master
Master

Dear Friend

store * from mytable into myfile.xls (xls);

Regards

Sunil Jain.

thomaswrieck
Partner - Creator
Partner - Creator
Author

hmmm ... did you try this ? .... that would be nice If that would work but it doesn't

Not applicable

here is the macro code to export the content of object CH01 to an excel file:

sub exportCH01toExcel
set obj = ActiveDocument.GetSheetObject("CH01")
obj.ExportEx "C:\test.xls", 5
end sub