Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
In a macro I'm trying to use MsgBox function to determine if the user wants to continue with a process or not but it's returning a macro parse error. Is the following VBScript supported? If not, is there another method for evaluating user interaction?
vAnswer = MsgBox "Continue?",VBOKCancel
if vAnswer = 2 then
exit sub
end if
You'll need parens (function style) around the arguments to return a value.
vAnswer = MsgBox("Continue?",VBOKCancel)
-Rob
Sorry, I forgot to add that this is in version 9.0 SR2.
You'll need parens (function style) around the arguments to return a value.
vAnswer = MsgBox("Continue?",VBOKCancel)
-Rob
Oh for crying out loud.......
I wish they were all that easy. LOL
BTW, Tech Support e-mailed me back and said that MsgBox is not supported in macros and I wouldn't be able to do this. Uh huh.