Assign Shortcuts

  • Thread starter Thread starter Boss
  • Start date Start date
B

Boss

Hi,

If I have ten different macros …

I need to assign shortkeys Ctrl 1, Ctrl 2 …. Crl 10 to the macors…

Please help me solve this...

Thanks!
 
Hi,

Tools|Options|Macros

Navigate to your macro in the window and select it. Click 'Options' and
assign your shortcut.

Mike
 
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
 
Sub macro6()
Application.OnKey "^{END}", "hello"
End Sub

will work on the numeric keypad, but only with NUMLOCK off.
 

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

Back
Top