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: 
goro2010
Creator
Creator

Call Macro from Script

Good Day,

I have this QVW that is calling a BAT document.

Script:

EXECUTE cmd.exe /C C:\QVD\MacroReload.bat;

EXIT SCRIPT;

BAT Script:

"c:\Program Files (x86)\qlikView\QV.exe" /VvReloadMacro=2 "C:\QVD\Test.qvw"

The idea is, that when the variable ReloadMacro is equal to two, then it should execute a Macro without clicking a button.

Is this possible?

Thank You

10 Replies
cmccafferty
Contributor III
Contributor III

 

I'm really struggling with this one... I want my Macro to execute when the data is Reloaded.

At the minute I can get it to work via a macro button, but is it possible to save down the three files i need when the script is executed?

 

qv2a.pngqv1a.png