Share via


MsoAlertButtonType Enumeration 

Specifies the buttons to be displayed when issuing an alert to the user with the DoAlert method of the Assistant object.

Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)

Usage

Dim msoAlertButtonType1 As MsoAlertButtonType = MsoAlertButtonType.msoAlertButtonAbortRetryIgnore

Syntax

Public Enum MsoAlertButtonType
public enum MsoAlertButtonType
public enum class MsoAlertButtonType
public enum MsoAlertButtonType
public enum MsoAlertButtonType

Members

Member name Description
msoAlertButtonAbortRetryIgnore Abort, Retry, and Ignore buttons.
msoAlertButtonOK OK button.
msoAlertButtonOKCancel OK and Cancel buttons.
msoAlertButtonRetryCancel Retry and Cancel buttons.
msoAlertButtonYesAllNoCancel Yes, Yes to All, No, and Cancel buttons. Can only be used if the varSysAlert argument of the DoAlert method is set to False.
msoAlertButtonYesNo Yes and No buttons.
msoAlertButtonYesNoCancel Yes, No, and Cancel buttons.

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

Microsoft.Office.Core Namespace