Differentiate Macro Code Message Box Response

  • I need a macro to provide a message box with yes and no buttons - how do I get the macro to act in accordance with the button pressed by user?

  • Re: Differentiate Vba Message Box Response


    dch,


    Go into the VBA Editor, press and hold down the "ALT" key, and press the "F11" key.


    In "Help" search for "MsgBox", and click on "Example".



    Have a great day,
    Stan

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!