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



The information in this article applies to:

  • Microsoft Word for Windows 6.0
  • Microsoft Word for Windows 6.0a
  • Microsoft Word for Windows 6.0c
  • Microsoft Word for Windows 95
  • Microsoft Word for Windows 95 7.0a
  • Microsoft Word for the Macintosh 6.0
  • Microsoft Word for the Macintosh 6.0.1
  • Microsoft Word for the Macintosh 6.0.1a
  • Microsoft Word 98 Macintosh Edition

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:

  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:

    163490 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.

Modification Type:MinorLast Reviewed:8/16/2005
Keywords:kbautotext kbfield kbinfo kbmacro kbtemplate KB105638