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

Macro for exporting charts and objects as jpg

Hi,

I need to export charts as jpeg. I have this script today:


Sub ExportImageEmail 

 

          ActiveDocument.GetSheetObject("CH59").Activate 

          ActiveDocument.GetApplication.WaitForIdle 

          ActiveDocument.GetSheetObject("CH59").ExportBitMapToFile "BUSINESS_TEST.JPG"

I can able to export chart successfully when I am reloading the application, but the same is not exporting when I am scheduling / reloading the application through windows batch file(Command prompt).

Kindly help.

Thanks.

0 Replies