How can you tell when the Tab key is pressed in your application?
Thanks,
Jeff
Printable View
How can you tell when the Tab key is pressed in your application?
Thanks,
Jeff
Code:Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyTab Then MsgBox "TAB WAS PRESSED"
End Sub
Private Sub Form_Load()
KeyPreview = True
End Sub