How to work with vbExclamation
To work with vbExclamation
Step 1:
Add the CommandButton in the Form:

Step 2:
Type in VB programming codes to the Command button. In this example, an exclamation box will be displayed after clicking on the Command button.
Private Sub Command1_Click()
MsgBox "Plese Click Me!!!", vbExclamation
End Sub
Step 3:
The exclamation box is displayed after clicking on the Command button:

No comments:
Post a Comment