Application.DisplayAlerts Property
Word Developer Reference |
Returns or sets the way certain alerts and messages are handled while a macro is running. Read/write WdAlertLevel.
Syntax
expression.DisplayAlerts
expression Required. A variable that represents an Application object.
Example
This example sets Word to display all alerts and message boxes when it is running macros.
Visual Basic for Applications |
---|
|
This example returns the current setting of the DisplayAlerts property.
Visual Basic for Applications |
---|
|
See Also