Diese Dokumentation wurde archiviert und wird nicht länger gepflegt.

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

public enum WdAlertLevel
public enum WdAlertLevel
public enum WdAlertLevel

Member nameDescription
wdAlertsAllAll message boxes and alerts are displayed; errors are returned to the macro.
wdAlertsMessageBoxOnly message boxes are displayed; errors are trapped and returned to the macro.
wdAlertsNoneNo alerts or message boxes are displayed. If a macro encounters a message box, the default value is chosen and the macro continues.

Development Platforms

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

Target Platforms

Anzeigen: