MsoAlertButtonType Enumeration
Specifies the buttons to be displayed when issuing an alert to the user with the DoAlert method of the Assistant object.
| Name | Value | Description |
|---|---|---|
| msoAlertButtonAbortRetryIgnore | 2 | Abort, Retry, and Ignore buttons.
|
| msoAlertButtonOK | 0 | OK button.
|
| msoAlertButtonOKCancel | 1 | OK and Cancel buttons.
|
| msoAlertButtonRetryCancel | 5 | Retry and Cancel buttons.
|
| msoAlertButtonYesAllNoCancel | 6 | 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 | 4 | Yes and No buttons.
|
| msoAlertButtonYesNoCancel | 3 | Yes, No, and Cancel buttons. |