PC Review


Reply
Thread Tools Rate Thread

How do I change the shortcut key for a macro

 
 
=?Utf-8?B?VG9ueSBCb3Jn?=
Guest
Posts: n/a
 
      3rd Nov 2006
I would like to be able to change the shortcut key in an EXCEL macro without
having to re-write the whole macro.
Any help is appreciated.
Thank you.
--
TonyB
 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      3rd Nov 2006
select the macro in Tolls=>Macros=>Macros and select Options. Change it in
the dialog.

--
Regards,
Tom Ogilvy



"Tony Borg" wrote:

> I would like to be able to change the shortcut key in an EXCEL macro without
> having to re-write the whole macro.
> Any help is appreciated.
> Thank you.
> --
> TonyB

 
Reply With Quote
 
=?Utf-8?B?VG9ueSBCb3Jn?=
Guest
Posts: n/a
 
      3rd Nov 2006
Hi Tom,
Thanks for your prompt reply. I had actually tried that before. When I first
recorded the macro a screen came up saying "Could not record" or similar.
However, when I viewed the macro the info was all there. The macro would not
run with the shortcut I had picked initially but it worked exactly as
required when I used the 'Run' command. I thought I had picked a "Reserved"
shortcut or something. I changed it again when I received your reply but it
is still the same. It will only work when I use the 'Run' command. If you
have any further ideas it/they would be gratefully received.
Regards
Tony Borg
--
TonyB


"Tom Ogilvy" wrote:

> select the macro in Tolls=>Macros=>Macros and select Options. Change it in
> the dialog.
>
> --
> Regards,
> Tom Ogilvy
>
>
>
> "Tony Borg" wrote:
>
> > I would like to be able to change the shortcut key in an EXCEL macro without
> > having to re-write the whole macro.
> > Any help is appreciated.
> > Thank you.
> > --
> > TonyB

 
Reply With Quote
 
Tom Ogilvy
Guest
Posts: n/a
 
      5th Nov 2006
Are you paying attention to the case of the letter?

you can also use the OnKey function to assign it to a shortcut key for that
instance of excel.

Using Run has nothing to do with the shortcut key.

--
Regards,
Tom Ogilvy


"Tony Borg" <(E-Mail Removed)> wrote in message
news91398A5-1A78-4712-AEF6-(E-Mail Removed)...
> Hi Tom,
> Thanks for your prompt reply. I had actually tried that before. When I
> first
> recorded the macro a screen came up saying "Could not record" or similar.
> However, when I viewed the macro the info was all there. The macro would
> not
> run with the shortcut I had picked initially but it worked exactly as
> required when I used the 'Run' command. I thought I had picked a
> "Reserved"
> shortcut or something. I changed it again when I received your reply but
> it
> is still the same. It will only work when I use the 'Run' command. If you
> have any further ideas it/they would be gratefully received.
> Regards
> Tony Borg
> --
> TonyB
>
>
> "Tom Ogilvy" wrote:
>
>> select the macro in Tolls=>Macros=>Macros and select Options. Change it
>> in
>> the dialog.
>>
>> --
>> Regards,
>> Tom Ogilvy
>>
>>
>>
>> "Tony Borg" wrote:
>>
>> > I would like to be able to change the shortcut key in an EXCEL macro
>> > without
>> > having to re-write the whole macro.
>> > Any help is appreciated.
>> > Thank you.
>> > --
>> > TonyB



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i change the shortcut key for a macro? John Boy Microsoft Excel Misc 1 19th Dec 2008 06:04 PM
Macro Shortcut Key Conflicts with Application Shortcut Keys =?Utf-8?B?Sm9yZGFuIEhvdHplbA==?= Microsoft Excel Programming 0 13th Oct 2006 06:39 AM
Macro Shortcut Key Conflicts with Application Shortcut Keys =?Utf-8?B?Sm9yZGFuIEhvdHplbA==?= Microsoft Excel Programming 0 13th Oct 2006 06:39 AM
Change/assign keyboard shortcut for a macro Kreller Microsoft Excel Misc 2 13th Jul 2004 11:59 AM
Is there a way I can change the shortcut key without having to redo the macro? Christiane Microsoft Excel Programming 4 2nd Apr 2004 03:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:35 PM.