Jump to content

How to act on Return Value from MsgBox


 Share

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...