PC Review


Reply
Thread Tools Rate Thread

Assign shortleys to macro

 
 
Boss
Guest
Posts: n/a
 
      1st Dec 2008
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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Assign Macro =?Utf-8?B?QW5uYQ==?= Microsoft Excel Misc 7 22nd Sep 2007 09:00 PM
assign macro PH NEWS Microsoft Excel Worksheet Functions 2 28th Feb 2006 02:17 PM
Assign a Macro =?Utf-8?B?UGVuZGVsZmlu?= Microsoft Excel Misc 1 10th Jan 2006 11:35 PM
Assign Macro =?Utf-8?B?SmFtZXMgSGFtaWx0b24=?= Microsoft Excel Misc 2 2nd Nov 2005 10:56 PM
assign macro nowfal Microsoft Excel Misc 2 30th May 2004 11:59 AM


Features
 

Advertising
 

Newsgroups
 


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