The XdConfirmChoice enumeration is used to determine which button is clicked in a message box. These enumerated values are used by the Confirm method of the UI object.
| Name | Value | Description |
|---|---|---|
| xdOK | 1 | The OK button was clicked. |
| xdCancel | 2 | The Cancel button was clicked. |
| xdYes | 6 | The Yes button was clicked. |
| xdNo | 7 | The No button was clicked. |