I was given this but it doesn't work...????
Set KeyPreview = true
Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)
If (KeyCode = 27) Then Unload Me
End Sub
|
Results 1 to 5 of 5
Thread: how to use esc to quitThreaded View
|
Click Here to Expand Forum to Full Width |