I have created a qvw that exports a jpg file with a vbscript module when i reload the qvw by trigger on postReload.
This is the script
set corp = ActiveDocument.GetSheetObject("CH10")
When i reload it manually it works and the file exports.
When i run a batch file that reloads the qvw does not work.
The batch file contains the commands below.
"C:\Program Files\QlikView\Qv.exe" /r C:\TEST\SALES.qvw
I have to mention that when i export the file in xls with the command in vbscript below the batch file works and the file exports.
Has anyone an idea what is happening and does not work the batch file when i try to export a jpg file ?
Thank you in advance.