Assign shortleys to macro

B

Boss

Hi,

With the help of this forum i got a nice code to assign short Key to a macro.

Application.OnKey "^1", "macro"

But this does not work for the numeric keypad.

Please help me so that i can assign Ctrl 0 to Ctrl 9 to ten different macros
using numeric keypad.

I also wish that the numpad should be on.

Like i got for three keys

"^{97}" for CTRL-1
"^{100}" for CTRL-4
"^{104}" for CTRL-8

Thanks!

Boss
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top