I would like to capture the keydown key for pagedown and pageup.
I have tried to use Keyboard.AsyncKeyDown(74) and (79) followed by Return False with a breakpoint there.
I’m not getting results.
If Keyboard.AsyncKeyDown(74) Then//PageUp
Return False//breakpoint here
ElseIf Keyboard.AsyncKeyDown(79) Then//PageDown
Return False//breakpoint here
End If
Suggestions?
where did you put this code into ? which event ?
it should be in a keydown event
put a breakpoint there and see what is inside the parameter Key to get the good code.