Discussion Board for collaboration on QlikView Scripting.
Qlikview Document edit module,maro code:
how to call macro in a loading script ? is it possible to execute a macro?
Thanks in advance & best regards
Check this URLs
Set objFSO = CreateObject("Scripting.FileSystemObject")
QlikView Load Script:
See Jagan's example.
Be aware that you cannot access interface elements at LOAD SCRIPT time. For example, if you want to export a chart, it will not work.
You can't access interface objects at LOAD SCRIPT time. You have to call your macro using a trigger after the script is run (like OnPostReload trigger)
As said by Lucian Cotea, you can't access UI object at load script. While you call a macro in the script, it is expected that the macro function would return a value whic is not the case with your macro.