quietus24 Posted December 22, 2004 Share 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 Link to comment Share on other sites More sharing options...
killaz219 Posted December 22, 2004 Share 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 Link to comment Share on other sites More sharing options...
quietus24 Posted December 22, 2004 Author Share Posted December 22, 2004 Cool.... thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now