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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Export and Overwrite Excel

Hi Qlikers,

I have a big problem with a macro.

I want to export an object (CH01) but i can't overwrite it.

The macro is this:

SUB ExportExcel

set sObject1 = ActiveDocument.GetSheetObject("CH01")

sObject1.Export "E:\MyDoc.csv", ", "

end sub

I need to overwrite "MyDoc" everytime that the Qlik file is reloaded.

Thanks in advance.

2 Replies
tamilarasu
Champion
Champion

HI Michele,

The below attachment is working fine. I am able to overwrite the existing file.

el_aprendiz111
Specialist
Specialist

Hi,

opn.png