Field codes in Word

In This Article

What are field codes?

List of field codes

What are field codes?

Fields in Microsoft Word are used as placeholders for data that might change in a document and for creating form letters and labels in mail-merge documents.

Word inserts fields automatically when you use particular commands, such as when you insert a page number, when you insert a document building block such as a cover page, or when you create a table of contents. You can also manually insert fields to automate aspects of your document, such as merging data from a data source or performing calculations.

In Microsoft Word 2010, there is little need to insert fields manually, because built-in commands and content controls provide most of the capabilities that fields provided for many versions of Word. You are more likely to encounter fields in documents that were created in an earlier version of Word. For more information about working with field codes, see Insert and format field codes.

Security Note   Because field codes can be visible to anyone reading your document, be sure that the information you place in field codes is not information that you want kept private.

Top of Page

List of field codes


AddressBlock field

Advance field

Ask field

Author field

AutoNum field

AutoNumLgl field

AutoNumOut field

AutoText field

AutoTextList field


Bibliography field


Citation field

Comments field

Compare field

CreateDate field


Database field

Date field

DocProperty field

DocVariable field


Embed field


FileName field

FileSize field

Fill-In field

= (Formula) field


GoToButton field

GreetingLine field


Hyperlink field


If field

IncludePicture field

IncludeText field

Index field

Info field


Keywords field


LastSavedBy field

Link field

ListNum field


MacroButton field

MergeRec field

MergeSec field


Next field

NextIf field

NoteRef field

NumChars field

NumPages field

NumWords field


Page field

PageRef field

Print field

PrintDate field

Private field


Quote field


RD (Referenced Document) field

Ref field

RevNum field


SaveDate field

Section field

SectionPages field

Seq (Sequence) field

Set field

SkipIf field

StyleRef field

Subject field

Symbol field


TA (Table of Authorities Entry) field

TC (Table of Contents Entry) field

Template field

Time field

Title field

TOA (Table of Authorities) field

TOC (Table of Contents) field


UserAddress field

UserInitials field

UserName field


XE (Index Entry) field

Top of Page

Applies To: Word 2010, Word for Mac 2011

Was this information helpful?

Yes No

How can we improve it?

255 characters remaining

To protect your privacy, please do not include contact information in your feedback. Review our privacy policy.

Thank you for your feedback!

Change language