Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I don't know why, you can execute a macro after a post reload event on a "Client Side", but, when you try to do the same on the server, it does nothing.
Anybody knows how to fix that?
By now, I'm using batch files.
Many thanks in advance!
Hi,
The same issue is happening to me.
Help.
Hi Marcel,
The only way to do it is with a .bat file. Publisher or the Server reloads do not executive any macros.
Bill
... or a .vbs file like
Set MyApp = CreateObject("QlikTech.QlikView")
Set MyDoc = MyApp.OpenDoc ("C:\QlikViewApps\Demo.qvw","","")
Set ActiveDocument = MyDoc
ActiveDocument.Reload
Set Button1 = ActiveDocument.GetSheetObject("BU01")
Button1.Press
MyDoc.GetApplication.Quit
Set MyDoc = Nothing
Set MyApp = Nothing
Lucian