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 SkipVought 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
Jun 9, 2008
57
0
0
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top