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 excel through macro from Win Task Schedular

Hello Friends,

I have on app and i am using two excel macro to export straight chart data from qlikview file but i dont have the server i am using the windows task scheduler for app reload and export excel from macro by this qlikview file how can i achieve this.

Desouza

3 Replies
HirisH_V7
Master
Master

Hi,

Like this,

Go to -> Document Properties in your App -> Triggers tab-> Document Event Triggers -> on post reload run your macro -> Save.

Then Create a batch file as per your App location .Then run and check  that your export is working or not.

Now you can create a Job in your Task Scheduler as In attachment.

HTH,

PFA,

Hirish

HirisH
Not applicable
Author

I have to use /R or /L for macros because i triggered macros by this application and generate excel file and why this /R and /L is used

"C:\Program Files\QlikView\QV.EXE" /R "Location\Your App .qvw"

"C:\Program Files\QlikView\QV.EXE" /L "Location\Your App .qvw"

Thanks

HirisH_V7
Master
Master

Hi,

The /l switch (that's a lower case ell) will open the report, run the reload function and leave the report open.

HTH,

Hirish

HirisH