quietus24 0 Posted December 22, 2004 Hi, I know that is slight amatuerish. Couldn't quite find an example in the Help file. Say I have a Msgbox with Yes Or No. The return values are 6 and 7 Now I would like to make an If Statement based on the output of the box. What should I check? What is the macro or ref for the "Return Value" Example If "Return Value" = 6 then Etc etc EndIf If "Return Value" = 7 then Etc etc Endif Thanks very much Share this post Link to post Share on other sites
killaz219 2 Posted December 22, 2004 Here $msg = MsgBox(4, "", "Yes and no example") If $msg = 6 Then MsgBox(0, "", "you clicked yes") ElseIf $msg = 7 then MsgBox(0, "", "you clicked no") EndIf Share this post Link to post Share on other sites
quietus24 0 Posted December 22, 2004 Cool.... thanks. Share this post Link to post Share on other sites