WdAlertLevel Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the way certain alerts and messages are handled while a macro is running.
public enum class WdAlertLevel
[System.Runtime.InteropServices.Guid("DB697253-EFC0-3AE8-818D-308F530CD32F")]
public enum WdAlertLevel
type WdAlertLevel =
Public Enum WdAlertLevel
- Inheritance
-
WdAlertLevel
- Attributes
Fields
Name | Value | Description |
---|---|---|
wdAlertsMessageBox | -2 | Only message boxes are displayed; errors are trapped and returned to the macro. |
wdAlertsAll | -1 | All message boxes and alerts are displayed; errors are returned to the macro. |
wdAlertsNone | 0 | No alerts or message boxes are displayed. If a macro encounters a message box, the default value is chosen and the macro continues. |