Returned by the MsgBox function when the Cancel
button is chosen.
This constant is equal to 2.
'Invoke MsgBox and check whether the Cancel button was
rc% = MsgBox("Are you sure you want to
If rc% = ebCancel Then
MsgBox "The user clicked Cancel."