I have played with the Tools->Macro->Security... to no effect.
Any ideas ?
Thanks,
David
It sounds as though the templates you are choosing in the "macros in"
box are global templates (other than Normal of course, which I presume
is not greyed out). Macros in global templates cannot be accessed
through the Macros dialog box. I don't know why this must be so, but it
is so, and it makes roundabout methods necessary.
To edit a macro in a global template in Word 97, you need to open the
global as a document. (Opening a document based on the global will not
do it.) It doesn't have to be the active document, but it needs to be
open in Word. Then go to the VB editor by pressing Alt+F11, then click
open the macro drop down menu at the upper right of the code window and
find and choose the macro.
If you want to use the keyboard instead of the mouse, then, with the
focus in the code window, Press Ctrl+F2, then Tab, then down arrow, then
the first letter of the macro you want, then scroll further if necessary
to get the macro. (Perhaps in later versions of Word there are easier
ways of doing this.)
I personally have a macro that opens my global template as a document,
opens a new blank document to experiment on, then opens the VB editor.
That makes easier the process of editing the macros.
As the above suggests, the idea that users should keep all their macros
in global templates rather than in Normal has some serious drawbacks.
Hope that helps,
Larry
David wrote in message
<09XD8.4223$X%5.3...@newsread1.prod.itd.earthlink.net>...
Please bare in mind that I am not a big guru of Word and I will appreciate
if you feed me with a small spoon in all steps.
Thanks,
David
"Larry" <larr...@att.net> wrote in message
news:uY4kAot#BHA.1740@tkmsftngp02...
I goofed. The greyed out buttons occur not just when a global template
in in "macros in," but when Word Commands are in "macros in," which is
what you were describing. I jumped to the wrong conclusion.
It was your use of the word macros that confused me and made me think
you were asking about a global. You're talking about editing Word's
built-in commands. Although it's not actually editing them, but
creating a macro that has the same name and adding your own
customizations to that macro. If you ever delete that macro, the
built-in command returns, so you don't need to worry about screwing up
the built-in with your customizations.
Here's what you do. Open the Macros dialog box (a quicker way to do it
is Alt+F8). Choose Word commands in 'macros in.' Select the built-in
command you want to edit. Now go back to the 'macros in' and change it
back to All Active Documents and Templates. The highlighted name of the
command is still there, but now you're about to create a macro with that
name. Click on Create. The VB editor will open with a macro by that
name displayed. Now you can make whatever change you want to it. Also,
any key or menu assignments that worked with the built-in will now work
with the macro.
Larry
David wrote in message ...