PC Review


Reply
Thread Tools Rate Thread

How to assign a keyboard shortcut to a macro in Word 2002

 
 
=?Utf-8?B?SGFycmlldA==?=
Guest
Posts: n/a
 
      27th Sep 2007
I would like this macro to be available to all documents, but I don't want to
put it in Normal.dot.
The following is what I did (it didn’t work):
I created a blank template with File/New/General Templates, then clicked
“template” and saved it in Word’s Startup folder.
With this template as the active document, I recorded a macro by choosing
Tools/Macro/Record Macro. I recorded the actions I wanted to take and then
chose Tools/Macro/Stop recording. Part of the recording process allows you
to assign the macro to a keyboard shortcut. I saved the macro in the open
template. The macro was successful – ie I could go to Tools/Macro/Macros and
run the macro, but it did not get assigned to the shortcut key.
If I save the macro in Normal.dot the shortcut key assignment works.


 
Reply With Quote
 
 
 
 
Graham Mayor
Guest
Posts: n/a
 
      27th Sep 2007
With your add-in template open in Word, select tools > customize >
keyboard - save changes in (name of your template) - pick your macro and
assign a shortcut. While the add-in is loaded the shortcut will work.
http://www.gmayor.com/installing_macro.htm
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

Harriet wrote:
> I would like this macro to be available to all documents, but I don't
> want to put it in Normal.dot.
> The following is what I did (it didn't work):
> I created a blank template with File/New/General Templates, then
> clicked "template" and saved it in Word's Startup folder.
> With this template as the active document, I recorded a macro by
> choosing Tools/Macro/Record Macro. I recorded the actions I wanted
> to take and then chose Tools/Macro/Stop recording. Part of the
> recording process allows you to assign the macro to a keyboard
> shortcut. I saved the macro in the open template. The macro was
> successful - ie I could go to Tools/Macro/Macros and run the macro,
> but it did not get assigned to the shortcut key.
> If I save the macro in Normal.dot the shortcut key assignment works.



 
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 to assign a keyboard shortcut to 'highlihgt' in word 2000? Emre Microsoft Word Document Management 1 15th Apr 2008 01:56 PM
Assign a keyboard shortcut in VBA? Jay Microsoft Excel Discussion 2 27th Nov 2007 01:41 PM
Keyboard SHORTCUT for date and time in MS Word 2002 Barry Karas Windows XP Help 1 17th Aug 2005 08:44 AM
Word 2002 keyboard shortcut problems =?Utf-8?B?TWFyeSBDdWxsZW4=?= Microsoft Word Document Management 6 18th Mar 2005 05:49 AM
Change/assign keyboard shortcut for a macro Kreller Microsoft Excel Misc 2 13th Jul 2004 11:59 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:48 PM.