Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Harriet Harriet is offline
external usenet poster
 
Posts: 18
Default How to assign a keyboard shortcut to a macro in Word 2002

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 didnt work):
I created a blank template with File/New/General Templates, then clicked
€śtemplate€ť and saved it in Words 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.


  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default How to assign a keyboard shortcut to a macro in Word 2002

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
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I assign keyboard strokes for highlighting in MS-Word? Kisa Canada Microsoft Word Help 1 September 26th 07 07:15 PM
Assign keyboard shortcut to Insert Bookmark? Ed Microsoft Word Help 2 January 31st 07 10:57 PM
2007: Assign macro to keyboard & add icon to toolbar tcebob New Users 4 August 1st 06 08:13 PM
How do I assign a shortcut key to print an envelope in Word? LindaW Microsoft Word Help 2 January 10th 06 07:12 PM
Word 2002 keyboard shortcut problems Alfredo Martinez Microsoft Word Help 4 March 18th 05 05:49 AM


All times are GMT +1. The time now is 03:54 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"