ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Keyboard Shortcuts (https://www.excelbanter.com/excel-programming/354620-keyboard-shortcuts.html)

Conan Kelly

Keyboard Shortcuts
 
Hello All,

Is there any way (other than when recording macros) to manually go in and set (or change) keyboard shortcuts on existing macros?

TIA,

Conan Kelly



Johnny Mick[_2_]

Keyboard Shortcuts
 
Hello,
If I understand, you want to create a 'ctrl-*' shortcut key to a macro
that's already been created. If this is the case, from the spreadsheet that
has the macro, select 'Alt-F8'. This brings up the list of macros attached
to that spreadsheet. Highlight the macro you want to create the shortcut.
At the bottom of that window, select 'Options'. A second window pops up, and
this is the point where you can select a 'Ctrl' key to create your shortcut.
Hope this is what you were looking for.

Regards,
Johnny Mick

"Conan Kelly" wrote:

Hello All,

Is there any way (other than when recording macros) to manually go in and set (or change) keyboard shortcuts on existing macros?

TIA,

Conan Kelly




Gary''s Student

Keyboard Shortcuts
 
Sub Macro2()
Application.MacroOptions Macro:="Macroxx", ShortcutKey:="e"
End Sub


will set the shortcutkey for Macroxx to CNTRL-e
--
Gary's Student


"Conan Kelly" wrote:

Hello All,

Is there any way (other than when recording macros) to manually go in and set (or change) keyboard shortcuts on existing macros?

TIA,

Conan Kelly




Tom Ogilvy

Keyboard Shortcuts
 
select the macro in Tools=Macro=Macros and then click the option button.

--
Regards,
Tom Ogilvy


"Conan Kelly" <CTBarbarin at msn dot com wrote in message
...
Hello All,

Is there any way (other than when recording macros) to manually go in and

set (or change) keyboard shortcuts on existing macros?

TIA,

Conan Kelly





Conan Kelly

Keyboard Shortcuts
 
Johnny,

Thanks for the info. That is exactly what I'm looking for.

Conan




Conan Kelly

Keyboard Shortcuts
 
Gary's Student

Thanks for the info. That will come in handy.

Conan




All times are GMT +1. The time now is 09:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com