استخدم الكود التالي
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
' for more information, see the Access Help topic: KeyPress Event
' values 8, 9, 10, and 13 convert to backspace, tab, linefeed, and carriage return characters, respectively.
Select Case KeyCode
Case 33, 34
'If KeyCode is PAGEUP or PAGEDOWN then nullify them
KeyCode = 0
End Select
End Sub
Private Sub Form_Load()
Me.KeyPreview = True
End Sub