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

ID: Q105638


The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word for the Macintosh, versions 6.0, 6.0.1, 6.0.1a
  • Microsoft Word 98 Macintosh Edition


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:

  1. On the Tools menu, click Templates And Add-Ins.


  2. Click Organizer.


  3. Click the Styles, AutoText, Toolbars, or Macro Project Items 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.

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


  6. Q163490 WD97: How to Rename, Copy, or Delete a Macro
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 : kbmacro kbtemplate kbautotext kbfield winword macword word6 word7 word95
Version : MACINTOSH:6.0,6.0.1,6.0.1a,98; WINDOWS:6.0,6.0a,6.0c,7.0,7.0a
Platform : MACINTOSH WINDOWS
Issue type : kbinfo


Last Reviewed: September 28, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.