keyboard shortcut question

  • Thread starter Thread starter Bri
  • Start date Start date
B

Bri

I have a number of keyboard shortcuts. Lets say <ctrl><shift>A runs code
in modA, <ctrl><shift>B 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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top