Delete Microsoft Excel wording from Msgbox and make everything else "Bold"

RLPeloquin

Board Regular
Joined
Jul 4, 2020
Messages
73
Office Version
  1. 2019
Platform
  1. Windows
I'd like for the message box not to show "Microsoft Excel in Msgbox and also make everything else "Bold"
Here's what I have so far:

Dim answer As Integer
answer = MsgBox("Is This Your ""FIRST"" Initial/Beginning Meter Reading", vbYesNoCancel)
If answer = vbYes Then
'MsgBox "Yes"
ElseIf answer = vbNo Then
Exit Sub 'MsgBox "No"
Else
Exit Sub 'MsgBox "Cancel"
End If
 

Attachments

  • MsgBox.png
    MsgBox.png
    98.1 KB · Views: 11

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Basically, you can't, at least not simply or easily. You would be better off creating your own message box with a userform.
 
Upvote 0
You can get rid of the Microsoft text by just setting the optional Title argument to the empty text string ("")...
Rich (BB code):
answer = MsgBox("Is This Your ""FIRST"" Initial/Beginning Meter Reading", vbYesNoCancel, "")
but you cannot make the text bold.
 
Upvote 0
Solution

Forum statistics

Threads
1,213,517
Messages
6,114,085
Members
448,548
Latest member
harryls

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top