Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The X in the top right corner of a message box is not colored red
and there would be no normal reason to remove it. The "Critical" notice on a message box ( a red X) is created by the inclusion of the constant "vbCritical" as one of the msgbox arguments. You can simply remove it or replace it with vbInformation or vbExclamation. As an example, try both code lines below: x = MsgBox("This is a test", vbOKCancel + vbCritical, " Test of X") '--- x = MsgBox("This is a test", vbOKCancel , " Test of X") '-- Jim Cone San Francisco, USA http://www.realezsites.com/bus/primitivesoftware "jnf40" wrote in message Is there a way to disable the red X on a Msgbox, or would you have to create a custom userform to do this? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Close msgbox ? | Excel Programming | |||
Excel shoud not close all active books when clicking close button | Excel Discussion (Misc queries) | |||
excel - Windows close button (x) should only close active workboo. | Setting up and Configuration of Excel | |||
Close a MsgBox | Excel Programming | |||
auto close while MsgBox is open | Excel Programming |