How to work with Retry or Cancel Message Box
To work with Retry or Cancel Message Box
Step 1:
Add the Command Button in the Form:
Step 2:
Type in VB programming codes to the Command button. In this example, a Retry/Cancel box will be displayed after clicking on the Command button.
Private Sub Command1_Click()
MsgBox "Please Click Me!!!", vbRetryCancel
End Sub
Step 3:
The Retry/Cancel box is displayed after clicking on the Command button:
No comments:
Post a Comment