Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

gu0guest
Not applicable

How to pop up a "confirm dialog" window in run macro process?

I want to pop up a "confirm dialog" window which contain "Yes" and "No" buttons when user running the macro.

sub Reload

     ActiveDocument.Reload

end sub

2 Replies
mbm
Not applicable

Re: How to pop up a "confirm dialog" window in run macro process?

John,

Here is the macro code to prompt prior to your reload.

Sub Reload

    reloadPrompt=MsgBox("Do You Want to Reload",4,"Confirm Reload")  

    if reloadPrompt = vbYes then

          ActiveDocument.Reload

    end if

End Sub

Attached is a simple example QVW which shows the functionality

jerrysvensson
Not applicable

Re: How to pop up a "confirm dialog" window in run macro process?

One thing to remember is that pop up dialogs will not work in Ajax.