Option Dialog (Yes_No_Cancel)
Option Dialog (Yes_No_Cancel)
API Declarations
NONE
Rate Option Dialog (Yes_No_Cancel)
(1(1 Vote))
x = MsgBox("Dialog Message ?", _
vbYesNoCancel Or vbQuestion + vbDefaultButton2, "Question")
If x = vbYes Then
MsgBox "You clicked the Yes button"
ElseIf x = vbNo Then
MsgBox "You clicked the No button"
Exit Sub
Else
'Cancel was selected.
End If
Option Dialog (Yes_No_Cancel) Comments
No comments yet — be the first to post one!
Post a Comment