XL: Moving Custom Dialog Box Leaves a Copy of Dialog on Screen

ID: Q138622


The information in this article applies to:
  • Microsoft Excel for Windows, versions 5.0, 5.0c
  • Microsoft Excel for Windows NT, version 5.0
  • Microsoft Excel for the Macintosh, versions 5.0, 5.0a
  • Microsoft Excel for Windows 95, versions 7.0, 7.0a


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 additional information on custom dialog boxes and screen updating, please see the following article in the Microsoft Knowledge Base:

Q72616 Custom Dialog Box Leaves Copy on Screen When Moved in Excel
For more information about Screen Updating In Microsoft Excel 7.0, click Answer Wizard on the Help menu, and type:
ScreenUpdating


REFERENCES

"Microsoft Excel 5 Visual Basic for Applications Reference," page 580, Microsoft Press

Additional query words: 5.00a 5.00c 7.00a XL5 XL7

Keywords : kbprg PgmOthr
Version : MACINTOSH:5.0,5.0a; WINDOWS:5.0,5.0c,7.0,7.0a; winnt:5.0
Platform : MACINTOSH WINDOWS winnt
Issue type : kbprb


Last Reviewed: October 25, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.