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)

Usage

Dim wdAlertLevel1 As WdAlertLevel = WdAlertLevel.wdAlertsAll

Syntax

Public Enum WdAlertLevel
public enum WdAlertLevel
public enum class WdAlertLevel
public enum WdAlertLevel
public enum WdAlertLevel

Members

Member name Description
wdAlertsAll All message boxes and alerts are displayed; errors are returned to the macro.
wdAlertsMessageBox Only message boxes are displayed; errors are trapped and returned to the macro.
wdAlertsNone No alerts or message boxes are displayed. If a macro encounters a message box, the default value is chosen and the macro continues.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Word Namespace