Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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
One thing to remember is that pop up dialogs will not work in Ajax.