ID: Q86078
The information in this article applies to:
Microsoft Word for Windows macros can be defined with either global or template context. Global macros are stored in a global template (only the NORMAL.DOT file in versions 1.0 and 2.0) and are available from any document window. Template macros are saved with the active template and are available only when the active document is based on that particular template. When you create a macro in a document based on a template other than NORMAL.DOT, you can select either the NORMAL.DOT global template or the template attached to the active document (As Global option button or the In Template option button in versions 1.0 and 2.0) to set the context of your macro. When you create a macro in a document based on NORMAL.DOT, the macro is automatically assigned global context.
If you have created a macro but cannot find it, open the document that was open when you created the macro, and use the appropriate procedure below.
1. From the Tools menu, choose Macro. Under Macros Available In: select the
Normal.dot (Global Template) option.
2. Look for the macro name in the list of macros. If the macro appears in
the list, the macro is a global macro stored in the NORMAL.DOT template.
3. If the desired macro does not appear in the list, select the template
that is attached to the current document under the Macros Available In:
list. (A non-global template will only be listed when the current
document is based on a template other than NORMAL.DOT). If the macro
appears in the list, the macro is a template macro stored in the
template that the current document is attached to.
4. If the desired maro is not listed, select any global templates that may
be available under the Macros Available In: list. If the desired macro
is not listed, it may reside in a different template file.
1. From the Tools menu, choose Macro. Under Show, select the Global
Macros option button.
2. Look for the macro name in the list of macros. If the macro appears
in the list, the macro is a global macro stored in the NORMAL.DOT
template.
3. If the desired macro does not appear in the list, select the
Template Macros option button under Show. (This option button is
available only when the current document is based on a template other
than NORMAL.DOT). If the desired macro is not listed, it may reside in
a different template file.
1. From the Macro menu, choose Edit. Under Context, select the Global
option button. Select the Show All check box.
2. Look for the macro name in the list of macros. If the macro appears
in the list, the macro is a global macro stored in the NORMAL.DOT
template.
3. If the desired macro does not appear in the list, choose the
Template option button under Context. (This option button is available
only when the current document is based on a template other than
NORMAL.DOT). If the desired macro is not listed, it may reside in
another template file.
If the macro was created using the Word for Windows Macro Recorder, it may be identified only by a number (Macro1, Macro2, Macro3, and so forth) unless a specific name was typed in the Record Macro dialog box. Macros created with the Macro Recorder are set to the context selected in the Macro dialog box of Word 6.0, the context selected in the Template dialog box of Word 2.x or to the context selected in the Record Macro dialog box of Word 1.x.
In Word 2.x, you can set the default context for new macros and glossary items by choosing Template from the File menu and selecting one of the following option buttons:
"Microsoft Word for Windows User's Guide," version 2.0, pages 764-766
Kbcategory: kbusage kbmacro KBSubcategory: kbtemplate Additional query words: global template 1.0 word6 winword winword2 1.10 1.10a 2.0 2.0a 2.0a-CD 2.0b 2.0c 6.0
Keywords : kbtemplate
Version : 1.x 2.x 6.0 6.0a 6.0c
Platform : WINDOWS
Last Reviewed: July 31, 1997