Guys,
I have used the following code to disable the PgUp and PgDn keys in one of my forms and it is not working.
Any suggestions?
mondoray
I have used the following code to disable the PgUp and PgDn keys in one of my forms and it is not working.
Code:
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If (KeyCode = vbKeyPageUp) Or (KeyCode = vbKeyPageDown) Then
KeyCode = 0
End If
End Sub
Any suggestions?
mondoray