Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
dariof
Contributor II
Contributor II

macro ExportEx excel, no columns header...

Hello.

I've a problem with Qlikview and the exporting to Excel via macro with obj.ExportEx.

We have Qlikview Server (11.20 SR17) but the exporting is done by a Windows Server schedule and a cmd with "C:\Program Files\QlikView\Qv.exe" /r "D:\test.qvw" (because exporting it is fired by reload and on QVS there is no other way, at least that I know, to fire the OnReload macro).

The code is simple and it is like this:

ActiveDocument.ClearAll false
ActiveDocument.Fields("DATE").Select "*"
set obj = ActiveDocument.GetSheetObject("CH613")
obj.ExportEx "c:\test.xls", 5

but on the exported Excel there is no header!!!

I read many forum posts about delete the header, that the header is present by default and so on...but I have the opposite problem.

Any idea?

Thanks.

 

 

Labels (1)
10 Replies
dariof
Contributor II
Contributor II
Author

Ciao to everyone.

I've tried the suggestions that you gave to me (no updating Qlik server), but the only one that worked was to recreate from scratch the graph!

Now I can export (XLS or CSV) with the header without problems.

Thank you very much for your help.

Dario