Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 220
Default Get List of Keyboard Shortcut Bindings

Is it possible to write code that goes through each macro in the Macro
Dialog box and gets the assigned shortcut key (if any)?

I know that you can create shortcut key bindings with
application.macrooptions, but how do you get a list of procedure names, and
how do you then use that to get a list of all the shortcut keys that have
already been assigned to the macros?

Any help would be most appreciated.


-Robert


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Get List of Keyboard Shortcut Bindings


Tim Childs posted a routine that seemed to work for him in xl2002 (but he said
that it didn't in xl2k):

http://groups.google.com/groups?&thr...%40tkmsftngp07

It relies heavily on Sendkeys so I'm not sure if I'd use it for anything
important.



R Avery wrote:

Is it possible to write code that goes through each macro in the Macro
Dialog box and gets the assigned shortcut key (if any)?

I know that you can create shortcut key bindings with
application.macrooptions, but how do you get a list of procedure names, and
how do you then use that to get a list of all the shortcut keys that have
already been assigned to the macros?

Any help would be most appreciated.

-Robert


--

Dave Peterson

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
Keyboard Shortcut danno-c[_2_] Excel Discussion (Misc queries) 3 November 30th 09 08:14 PM
keyboard shortcut entee Excel Worksheet Functions 3 October 26th 08 08:03 PM
Keyboard Shortcut for Drop Down List B Baggins Excel Worksheet Functions 3 January 21st 08 04:34 AM
Keyboard shortcut for List Box B Baggins Excel Worksheet Functions 1 September 20th 07 12:42 PM
Excel Keyboard Shortcut list? Johnboy Excel Discussion (Misc queries) 3 May 2nd 07 11:31 PM


All times are GMT +1. The time now is 02:07 AM.

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

About Us

"It's about Microsoft Excel"