# VbMsgBoxResult
{: .no_toc }

Identifies the button that was pressed to close a **MsgBox** dialog.

| Constant | Value | Description |
|----------|-------|-------------|
| **vbOK**{: #vbOK } | 1 | **OK** button pressed. |
| **vbCancel**{: #vbCancel } | 2 | **Cancel** button pressed. |
| **vbAbort**{: #vbAbort } | 3 | **Abort** button pressed. |
| **vbRetry**{: #vbRetry } | 4 | **Retry** button pressed. |
| **vbIgnore**{: #vbIgnore } | 5 | **Ignore** button pressed. |
| **vbYes**{: #vbYes } | 6 | **Yes** button pressed. |
| **vbNo**{: #vbNo } | 7 | **No** button pressed. |
| **vbTryAgain**{: #vbTryAgain } | 10 | **Try Again** button pressed. |
| **vbContinue**{: #vbContinue } | 11 | **Continue** button pressed. |

### See Also

- [VbMsgBoxStyle](/tB/Modules/Constants/VbMsgBoxStyle.md)
