Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello
got a macro that exports charts into images then at the end it saves the document and closes QlikView application
ActiveDocument.GetApplication.quit
if I run the macro from a button on the sheet the document saves and QlikView application quits
however if I create a batch file that opens this QVW file then at the end the qlikview application doesn't quit but it exports charts into images
please advise
in the batch file I wrote the following
C:
cd "C:\Users\ahijazi\Desktop\Qlik Dev\KPI_Refractored"
start "c:\program files\qlikview\qv.exe" "KPI_Refactored-global v3.qvw" /vCanCloseDocument=1
timeout /t 180 /nobreak
exit