Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 123
Default Assign shortleys to macro

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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
not able to assign macro TripMom Excel Discussion (Misc queries) 4 April 27th 10 03:27 PM
Assign a Macro The Rook[_2_] Excel Discussion (Misc queries) 5 February 19th 07 06:53 PM
Assign F1 as a macro? Ryk Excel Discussion (Misc queries) 7 October 17th 06 01:12 AM
Assign a Macro Pendelfin Excel Discussion (Misc queries) 1 January 10th 06 11:35 PM
Assign macro jenniferThomson Excel Programming 5 September 15th 05 09:36 PM


All times are GMT +1. The time now is 06:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"