Hi People.
What's wrong with this code?
When I press the button to exit the program, I want a message box to appear, which confirms this action.
Private Sub cmdExit_Click()
MsgBox("Are you sure you want to exit?", vbYesNo, "Exit The Program"
End Sub
What's wrong with this code?
When I press the button to exit the program, I want a message box to appear, which confirms this action.
Private Sub cmdExit_Click()
MsgBox("Are you sure you want to exit?", vbYesNo, "Exit The Program"
End Sub