Excel: Using the Numeric Keypad with the ON.KEY FunctionID: Q78337
|
The Microsoft Excel ON.KEY function is used to run a specified macro when a particular key or key combination is pressed. With the exception of the Enter key in Microsoft Excel version 3.0, the ON.KEY function cannot distinguish the numeric keypad keys from the main keyboard equivalents. In addition, some of the operators on the numeric keypad cannot be used as arguments to the ON.KEY function.
The keys PLUS SIGN (+), MINUS SIGN (-), ASTERISK (*), BACKSLASH (/),
and EQUAL SIGN (=) on the numeric keypad cannot be mapped separately
from their equivalent keys on the keyboard. Keep the following in mind
when using the ON.KEY command:
"numeric keypad" and on.key and enter and excel
"Online Help," version 5.0
"Function Reference," version 4.0, pages 302-303
"Function Reference," version 3.0, pages 165-67
Additional query words: 2.1 3.0 4.0 4.00a 5.0
Keywords :
Version :
Platform :
Issue type :
Last Reviewed: March 22, 1999