Expand Minimize

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)

public enum MsoAlertButtonType

Member nameDescription
msoAlertButtonOKOK button.
msoAlertButtonOKCancelOK and Cancel buttons.
msoAlertButtonAbortRetryIgnoreAbort, Retry, and Ignore buttons.
msoAlertButtonYesNoCancelYes, No, and Cancel buttons.
msoAlertButtonYesNoYes and No buttons.
msoAlertButtonRetryCancelRetry and Cancel buttons.
msoAlertButtonYesAllNoCancelYes, Yes to All, No, and Cancel buttons. Can only be used if the varSysAlert argument of the DoAlert method is set to False.
Show:
© 2015 Microsoft