# XdConfirmChoice Enumeration

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.

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp