Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Help changing Keyboard Shortcut assigned to Excel Macro

Hi,

I don't know visual basic and have created some simple macros by recording
them in excel. I would like to chnage the shortcut keys assigned to the
macros while recording. Is this at all possible?

Tks,
Amar
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Help changing Keyboard Shortcut assigned to Excel Macro

Do you mean change through code....Try

Application.MacroOptions Macro:="Macro1", ShortcutKey:="i"

--
Jacob (MVP - Excel)


"Amar" wrote:

Hi,

I don't know visual basic and have created some simple macros by recording
them in excel. I would like to chnage the shortcut keys assigned to the
macros while recording. Is this at all possible?

Tks,
Amar

  #3   Report Post  
Posted to microsoft.public.excel.programming
DS DS is offline
external usenet poster
 
Posts: 117
Default Help changing Keyboard Shortcut assigned to Excel Macro

Alternatively, if you don't mean changing by code, if you open the Macro
Dialog Box (the one that has a list of macro names, and buttons along the
right hand side with "Edit", "Step Into" etc, select the macro you're wanting
to change and press the button marked "Options".
You'll get a new box with the middle option "Shortcut Key" - just add the
key you want to use in that box. note that if Control & the key you select
are already in use by a standard function (e.g. Control & C), your shortcut
will change to CTRL + SHIFT + (key you choose).



"Amar" wrote:

Hi,

I don't know visual basic and have created some simple macros by recording
them in excel. I would like to chnage the shortcut keys assigned to the
macros while recording. Is this at all possible?

Tks,
Amar

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 Key Assigned to Imported Macro (i.e. in personal.xls) Does Not Work eBob.com[_2_] Excel Programming 7 January 22nd 08 03:36 PM
Excel macro works with keyboard shortcut, but not command button. Please Help. [email protected] Excel Programming 3 May 5th 06 11:30 PM
Keyboard Shortcut in Macro osaka78 Excel Discussion (Misc queries) 3 January 16th 06 08:47 AM
Remove all keyboard shortcut keys assigned to macros - an example [email protected] Excel Programming 0 February 28th 05 06:52 PM
Assigning global macro to keyboard shortcut in Excel 2003 Bob[_60_] Excel Programming 2 August 20th 04 12:53 AM


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