Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I wrote a macro that export tables objects to excel. I want the macro to run automatically every 2 hours. So I created a scheduled task that runs a batch file every 2 hours. The batch contains: "C:\Program Files\QlikView\Qv.exe" /VvTriggerMacro=1 "MyDashboard.qvw" and my QVW has on open trigger to run the macro.
when running the batch file by double click, everything works fine. But while running from the task scheduler the macro stack in the following line: "CREATEOBJECT("Excel.Application")".
I tried some solutions from the Internet but it's still not working.
Can someone please advise?
Thanks!
hi Michal,
i had a similar problem with this recently for me it was an issue with Microsoft excel not being installed on the environment I was working within (on one of my QV servers). Do you have the software installed?
Yes we do..
It's a security issue. Among other things like access to the file-system, proper settings on modul security needs the batch-user rights to create new objects and/or accessed to external files and execution from files and exports (user settings --> security).
- Marcus