Results 1 to 6 of 6
  1. #1
    4 Star Lounger
    Join Date
    Feb 2008
    Location
    United Kingdom
    Posts
    490
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have a message box:

    If MsgBox("File document in a sub folder under " & Me.SPRT & "", vbYesNo, "Folders") = vbYes Then

    But I want to add the question mark icon in the messagebox, how can I do it. Thanks

  2. #2
    3 Star Lounger
    Join Date
    Mar 2009
    Location
    Hong Kong
    Posts
    359
    Thanks
    0
    Thanked 0 Times in 0 Posts
    [quote name='ZOR' post='779624' date='13-Jun-2009 16:13']I have a message box:

    If MsgBox("File document in a sub folder under " & Me.SPRT & "", vbYesNo, "Folders") = vbYes Then

    But I want to add the question mark icon in the messagebox, how can I do it. Thanks[/quote]
    Please try:
    If MsgBox("File document in a sub folder under " & Me.SPRT & "", vbYesNo + vbQuestion, "Folders") = vbYes Then
    Armstrong

  3. #3
    4 Star Lounger
    Join Date
    Feb 2008
    Location
    United Kingdom
    Posts
    490
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Many thanks, just what I wanted. Have a good weekend and thanks.

  4. #4
    3 Star Lounger
    Join Date
    Mar 2009
    Location
    Hong Kong
    Posts
    359
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You're welcome.
    Armstrong

  5. #5
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    Armsys has already solved your problem. For more info about the MsgBox function, click in the word MsgBox in the Visual Basic Editor and press F1. The help subject explains how to display various icons and combinations of buttons.

  6. #6
    4 Star Lounger
    Join Date
    Feb 2008
    Location
    United Kingdom
    Posts
    490
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Many thanks Hans, I will do that. Have a good weekend. Regards

Posting Permissions

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