Tuesday, December 11, 2007

How to work with About Retry and Ignore Message box

How to work with About Retry and Ignore Message box

To work with About, Retry and Ignore Message box

Step 1:

Add the CommandButton in the Form:

Step 2:

Type in the VB programming codes. In this example, an Abort/Retry/Ignore box will be displayed after clicking on the Command button.

Private Sub Command1_Click()

MsgBox "Please Click Me!!!", vbAbortRetryIgnore

End Sub

Step 3:

The Abort/Retry/Ignore box is displayed after clicking on the Command button. This is the result:

No comments: