Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have an application where I have set up a macro as an action to a button. I want to do a Partial Reload. But I cannot seem to get the macro to run. I am confident the syntax is good. Clicking the button does nothing. Not even an error message. Am I missing something? Maybe a setting in Qlikview or license issue or something???
I tried another macro to display a message box as a test, and that doesn't seem to respond either. Here is example of my code:
Sub PartialReload
Set varCurrentQvw = ActiveDocument
'varCurrentQvw.PartialReload
varCurrentQvw.DoReload 2,true,false
End Sub
Sub DisplayMsgBox
msgbox("This is a test." )
End Sub
Any ideas would be appreciated.
Got it. That was absolutely the issue. Thanks for the assist.
In my case MsgBox works, but
Set varCurrentQvw = ActiveDocument does not work
It says ActiveDocument is not identified
It fianlly worked after using samples