Try this
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If (KeyCode = vbKeydown) Then
MsgBox "Down key pressed"
End If
If (KeyCode = vbKeyup) Then
MsgBox "Up key pressed"
End If
End Sub
Cheers
Ray
|
Results 1 to 3 of 3
Thread: Key Press ProblemThreaded View
|
Click Here to Expand Forum to Full Width |