WdAlertLevel Enumeration
Specifies the way certain alerts and messages are handled while a macro is running.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Public Enumeration WdAlertLevel
'Usage
Dim instance As WdAlertLevel
public enum WdAlertLevel
Members
Member name | Description | |
---|---|---|
wdAlertsNone | No alerts or message boxes are displayed. If a macro encounters a message box, the default value is chosen and the macro continues. | |
wdAlertsMessageBox | Only message boxes are displayed; errors are trapped and returned to the macro. | |
wdAlertsAll | All message boxes and alerts are displayed; errors are returned to the macro. |