Field codes: AutoText field

Applies To
Word for Microsoft 365 Word for Microsoft 365 for Mac Word 2024 Word 2024 for Mac Word 2021 Word 2021 for Mac

Note

Field code capabilities vary by platform in Word for Microsoft 365. Some field codes can be viewed or updated in Word for Mac, but full insertion and editing may require Word for Windows desktop.

The AutoText field inserts an AutoText entry. You can select the AutoText entry under AutoText name in the Field dialog box.

When you use an AutoText field instead of inserting an AutoText entry, Word can update the AutoText fields in your document after you redefine the entry. First, define the AutoText entry, and then insert an AutoText field wherever you want it to appear. If you change the AutoText entry, update the AutoText fields in the document to reflect the change.

For information on defining an AutoText entry, see Add AutoText in Word.

Syntax

When you view the AutoText field code in your document, the syntax looks like this:

{ AUTOTEXT AutoTextEntry ⁠}⁠

Note

A field code tells the field what to display. Field results are what is shown in the document after having evaluated the field code. To toggle between viewing the field code and the field code results, press Alt+F9.

Instructions

AutoTextEntry

The name of the AutoText entry.

Examples

When you update the following AutoText field, Word inserts the current text defined for the AutoText entry "Disclaimer".

{ AUTOTEXT Disclaimer ⁠}⁠