WD97: Some Screen Items Update with ScreenUpdating Set to 0

ID: Q197210


The information in this article applies to:
  • Microsoft Word 97 for Windows


SYMPTOMS

Toolbars may flash on and off, and document names may change when a macro is run with ScreenUpdating set to 0 (zero).


CAUSE

The ScreenUpdating property controls most display changes on the screen while a procedure is running. When screen updating is turned off, toolbars remain visible and Word still allows the procedure to display or retrieve information using status bar prompts, input boxes, dialog boxes, and message boxes. You can increase the speed of some procedures by keeping screen updating turned off. You must set the ScreenUpdating property to True when the procedure finishes or stops after an error.

REFERENCES

For more information about Screen Updating, while in the Visual Basic for Applications Editor, click the Office Assistant, type "ScreenUpdating," click Search, and then click to view "ScreenUpdating Property."

NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If Microsoft Visual Basic Help is not installed on your computer, please see the following article in the Microsoft Knowledge Base:
Q120802 Office: How to Add/Remove a Single Office Program or Component

Additional query words: change flicker echo on off zero

Keywords : kbdta word97
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbprb


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