Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Assign macro to shortcut keys "ctrl + 1"?

Excel 2007 - is it possible to assign macros to shortcut keys such as
Ctrl +1, Ctrl +2 etc?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 110
Default Assign macro to shortcut keys "ctrl + 1"?

Hello
No you can't, shorcut keys expect letters.
HTH
Cordially
Pascal

"Johan" a écrit dans le message de news:
...
Excel 2007 - is it possible to assign macros to shortcut keys such as
Ctrl +1, Ctrl +2 etc?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Assign macro to shortcut keys "ctrl + 1"?

Application.OnKey "^1", "myMacro"
Application.OnKey "^1" ' to clear it

Some users might not appreciate your hi-jacking the built-in shortcut for
the format menu!

Regards,
Peter T


"Johan" wrote in message
...
Excel 2007 - is it possible to assign macros to shortcut keys such as
Ctrl +1, Ctrl +2 etc?



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
Shortcut for "Ctrl+Shift+1" HISNA Excel Discussion (Misc queries) 2 September 7th 06 11:50 AM
"Show shortcut keys in ScreenTips" check box Maggie Setting up and Configuration of Excel 1 August 4th 06 05:05 PM
"program shortcut keys in Excel" aislinn11 Excel Programming 1 April 14th 06 04:13 PM
Excel shortcut key "Cut" Ctrl+X come up a formula to me why? Tony Excel Discussion (Misc queries) 2 December 12th 05 06:25 AM
not getting the "assign macro" shortcut JC Home[_2_] Excel Programming 3 October 2nd 04 11:07 PM


All times are GMT +1. The time now is 09:46 AM.

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"