+ Reply to Thread
Results 1 to 2 of 2

Help Option In MsgBox?

  1. #1
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Crayford, kent
    MS-Off Ver
    Excel 2013
    Posts
    394

    Help Option In MsgBox?

    Hi

    I have got the message box to display what i want, and with the Ok and Help buttons, what i need to do is make "OK" return to the user form, and "Help" to display why the message is showing, i also want to make it so the user cant click the close button in the top right corner of the box?

    Any Help?

    This is my code.....

    '//Notify user if entries are missing
    MsgBox "Some Fields Are Missing", vbOKOnly + vbApplicationModal + vbExclamation + vbMsgBoxHelpButton, "Warning! Input Error"

    Dim iReply As Integer
    iReply = "All Fields Must Have Valid Information Inputted, Press OK To Return To Input Part Form"

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: Help Option In MsgBox?

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code in [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    Post the complete code.
    Ben Van Johnson

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1