編輯

共用方式為


_Application.ScreenUpdating Property

Definition

Determines if screen updating is turned on. Returns True if screen updating is turned on, and False if not.

public:
 property bool ScreenUpdating { bool get(); void set(bool value); };
public bool ScreenUpdating { get; set; }
member this.ScreenUpdating : bool with get, set
Public Property ScreenUpdating As Boolean

Property Value

Remarks

The ScreenUpdating property controls most display changes on the monitor while a procedure is running. When screen updating is turned off, toolbars remain visible and Microsoft 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 when it stops after an error.

Applies to