This documentation is archived and is not being maintained.

WdAlertLevel Enumeration

Office 2007
Specifies the way certain alerts and messages are handled while a macro is running.
wdAlertsAll-1All message boxes and alerts are displayed; errors are returned to the macro.
wdAlertsMessageBox-2Only message boxes are displayed; errors are trapped and returned to the macro.
wdAlertsNone0No alerts or message boxes are displayed. If a macro encounters a message box, the default value is chosen and the macro continues.