Thread: Onkey Method
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Fred Lambelet Fred Lambelet is offline
external usenet poster
 
Posts: 6
Default Onkey Method

I want to disable + and - keys on numeric keypad. How
do I express these keys as a string for Onkey method of
Application object. These keypad keys are apparently
"different" keys than the keys on the regular keyboard. I
have no problem disabling these same keys on the regular
keyboard, using:

Application.Onkey "-", ""
Application.Onkey "{+}", ""

On my keyboard (Gateway notebook), you press and hold the
Fn key while pressing a number or the plus key on the keys
that are embedded in the keyboard, or you can press
Fn+Pad Lock to lock on the embedded numeric keypad.

Thanks for your help!

Fred Lambelet