Assign Shortcuts
Sub macro6()
Application.OnKey "^{END}", "hello"
End Sub
will work on the numeric keypad, but only with NUMLOCK off.
--
Gary''s Student - gsnu200815
"Boss" wrote:
I wish to do it using number...
I can do it using keypad number but cannot using numpad number...
using code
Application.OnKey "^1", "Mymacro"
Thanks!
Boss
"Gary''s Student" wrote:
Shortcut keys must be letters.
--
Gary''s Student - gsnu200815
|