Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bri
 
Posts: n/a
Default keyboard shortcut question

I have a number of keyboard shortcuts. Lets say <ctrl<shiftA runs code
in modA, <ctrl<shiftB runs code in modB, etc.

I'd prefer to collect all of this code in one module, say modShortcuts, but
still have the keyboard shortcuts work.

Is this possible?

TQ
Bri


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jennifer
 
Posts: n/a
Default keyboard shortcut question

How about 'calling' the procedure using the shortcut?

For example in the module containing all your shortcuts

sub macroname()
'Keyboard Shortcut: Ctrl+Shift+O
Call MacroYouWantToAssignToctrlshiftO
end sub

sub macroname()
'Keyboard Shortcut: Ctrl+Shift+X
Call MacroYouWantToAssignToctrlshiftXend sub


"Bri" wrote:

I have a number of keyboard shortcuts. Lets say <ctrl<shiftA runs code
in modA, <ctrl<shiftB runs code in modB, etc.

I'd prefer to collect all of this code in one module, say modShortcuts, but
still have the keyboard shortcuts work.

Is this possible?

TQ
Bri



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 for "Paste Values"? Sam Excel Discussion (Misc queries) 7 April 2nd 23 07:31 PM
Keyboard Shortcut for Zooming Henrik Excel Worksheet Functions 1 February 4th 06 08:54 PM
Keyboard shortcut not working when I copy macro to another computer telewats New Users to Excel 1 January 9th 06 08:52 PM
Isolating a Keyboard Shortcut RWN Setting up and Configuration of Excel 1 October 23rd 05 09:55 PM
keyboard shortcut Aditya Excel Worksheet Functions 1 February 21st 05 01:34 PM


All times are GMT +1. The time now is 05:58 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"