I can't duplicate the problem in xl2003, but it sounds like a software
glitch to me. The standard message box is designed to close immediately
upon execution of a button. Unless xl2007 has an option to open the message
box as modeless, I cannot offer any explanation for the behavior.
"John Keith" wrote in message
...
Is this a message box that was created with a UserForm?
No
The standard message box automatically closes when a button is clicked.
If it is the
standard message box and is not closing, there could be a software problem
in your system. Is this in Excel, if so, what version.
Excel 2007/WinXP
The message box window stays open until the next msgbox command is
executed.
I also just tried the following
msgbox("Test")
for i =1 to 100000000
a=1
next i
msgbox("done")
The loop has not completed yet and the first message box is still
open.
John Keith