Microsoft KB Archive/138622

= Moving Custom Dialog Box Leaves a Copy of Dialog on Screen =

Article ID: 138622

Article Last Modified on 6/11/2007

-

APPLIES TO


 * Microsoft Excel 95a
 * Microsoft Excel 5.0c
 * Microsoft Excel 5.0 Standard Edition
 * Microsoft Excel 5.0a for Macintosh

-



This article was previously published under Q138622



SYMPTOMS
In the versions of Microsoft Excel listed above, when you display and then move a movable custom dialog box, a copy of the dialog box remains in the original location on the screen.



CAUSE
This problem may occur if the following command is called before the custom dialog box is called:

Application.ScreenUpdating = False



MORE INFORMATION
The ScreenUpdating property in Microsoft Visual Basic for Applications is used to turn screen updating off to speed up your macro code. You will not be able to see what the macro is doing, but it will run faster.

For more information about Screen Updating In Microsoft Excel 7.0, click Answer Wizard on the Help menu, and type:

ScreenUpdating

