Set the form's KeyPreview property to True.
Code:Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = (192) Then Debug.Print ("~") End Sub
|
Results 1 to 6 of 6
Thread: Capturing KeyPresses...Threaded View
|
Click Here to Expand Forum to Full Width |