Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Msg box color background w/ VBA

Status
Not open for further replies.

PL01

Technical User
Joined
Jun 9, 2008
Messages
57
Location
US
Anybody know if message boxes can have their back ground colors changed using VBA? i.e. a yellow message box instead of a gray one?
 
I have never seen a way to do it.

You can however have a modal pop up form with buttons that looks suspiciously like a messagebox. You can of course make a form whatever color you want.
 
...yes but a form will interrupt your VBA code, a message box will not...
 
Code:
...yes but a form will interrupt your VBA code, a message box will not...

I believe you have that backward. A VBA message box is always modal and will always halt code execution until closed. A custom form could be modal or modeless.
 
I guess I'm not familiar with modal forms then...
 
Modal is a form property... You can look it up in help.
 
I'll remember that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top