Ricky Morris
Active Member
- Joined
- Mar 31, 2002
- Messages
- 363
The following code appears if it should work with a userform but doesn't.
Private Sub UserForm_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
MsgBox "hi"
End Sub
I'm trying to unload the form when the user presses ESC but I can't even get the simple message box to code to execute. Help!
Private Sub UserForm_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
MsgBox "hi"
End Sub
I'm trying to unload the form when the user presses ESC but I can't even get the simple message box to code to execute. Help!