not sure if this is possible but is there any way to get this code to work even when my app isnt in focus
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyF7 Then
form3.Show
End If
Printable View
not sure if this is possible but is there any way to get this code to work even when my app isnt in focus
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyF7 Then
form3.Show
End If
In order to react to keyboard input, your form would have to have focus.
well then can i make it constantly in focus but not visible?
Try this thread
(but ignore the last half or so it kind of got off of the main subject)
this question gets asked sooo many times :rolleyes: