Microsoft Knowledge Base |
|
XL5: Message Box Remains on Screen with Office Manager |
|
|
Last reviewed: September 12, 1996
Article ID: Q125909 |
|
The information in this article applies to:
SUMMARYIn Microsoft Excel, if a message box is displayed in a Visual Basic, Applications Edition, macro, the message box may remain on the screen for an extended period of time under the following conditions:
WORKAROUNDTo work around this problem, insert the following line of code above the first message box on the macro sheet:
Application.ScreenUpDating = FalseWith this modification, the message box should disappear in all cases.
MORE INFORMATIONNormally, when you choose a button to exit a message box, the message box disappears immediately while subsequent code runs. If any application that has "always on top" capability, such as Microsoft Office Manager (MOM), is also running, the screen will not be updated to remove the message box until an action item such as Select, Activate, or another MsgBox command is issued.
|
|
KBCategory: kbtool kbprg
©1997 Microsoft Corporation. All rights reserved. Legal Notices. |