Microsoft KB Archive/105638

= WD: Existing Macros and AutoText Are Not Saved with New Form =

Article ID: 105638

Article Last Modified on 8/16/2005

-

APPLIES TO


 * Microsoft Word 6.0 Standard Edition
 * Microsoft Word 6.0a
 * Microsoft Word 6.0c
 * Microsoft Word 95 Standard Edition
 * Microsoft Word 95a
 * Microsoft Word 6.0 for Macintosh
 * Microsoft Word 6.01 for Macintosh
 * Microsoft Word 6.01 for Macintosh
 * Microsoft Word 98 for Macintosh

-



This article was previously published under Q105638





SYMPTOMS
Macros and AutoText entries that you move from a startup or global template to a new location are not available to a form template.



CAUSE
Macros and AutoText that have been saved in other templates are not copied to the form template when they are used by a form field. As a result, the macros and AutoText entries will not be available to the form template if you move the form from the location of the templates containing the macros or AutoText entries.



MORE INFORMATION
Word makes macros and AutoText from multiple templates available globally when you place templates in the location designated by the Startup option. (To locate the Startup option, click Options on the Tools menu, select the File Locations tab, and find Startup in the File Types list.)

When you develop a template with form fields, you can select macros for the form field On Entry and On Exit macros and AutoText entries for the form field Help text from these other templates. However, the macros and AutoText that you select will not be stored with your form template.

If you want the form template to be portable, you should store all macros and AutoText with the form template.

Copying AutoText and Macros Between Templates
To copy AutoText and Macros between templates, use the steps appropriate for your version of Word.

In Word 98 Macintosh Edition, follow these steps:

 On the Tools menu, click Templates And Add-Ins. Click Organizer. Click the Styles, AutoText, Toolbars, or Macro Project Items tab. In the In box on the left, click the entry you want to copy, and then click Copy. Click OK, and then click Close.

For additional information, please see the following article in the Microsoft Knowledge Base:

163490 WD97: How to Rename, Copy, or Delete a Macro

</ol>

In Word versions 7.x and earlier, follow these steps:


 * 1) On the File menu, click Templates.
 * 2) Click Organizer.
 * 3) Click the Styles, AutoText, Toolbars, or Macro tab.
 * 4) In the In box on the left, click the entry you want to copy, and then click Copy.
 * 5) Click OK, and then click Close.

Additional query words: auto text

Keywords: kbinfo kbmacro kbtemplate kbautotext kbfield KB105638

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.