I have a word doc with form fields in a table and would like to know when the
key is pressed on the key board.
I am trying this code in a module
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
MsgBox "code working", vbCritical
End Sub
But no luck. I am new to VBA and I am not sure what I am doing wrong.