Field codes in Word

In This Article


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  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 Top of Page

List of field codes

A

AddressBlock field

Advance field

ASK field

Author field

AutoNum field

AutoNumLgl field

AutoNumOut field

AutoText field

AutoTextList field

B

BIBLIOGRAPHY field

C

CITATION field

Comments field

Compare field

CreateDate field

D

Database field

Date field

DocProperty field

DocVariable field

F

FileName field

FileSize field

FILLIN field

= (Formula) field

G

GoToButton field

H

Hyperlink field

I

IF field

IncludePicture field

IncludeText field

Index field

Info field

K

Keywords field

L

LastSavedBy field

Link field

ListNum field

M

MacroButton field

MERGEREC field

MERGESEQ field

N

NEXT field

NEXTIF field

NoteRef field

NumChars field

NumPages field

NumWords field

P

Page field

PageRef field

Print field

PrintDate field

Private field

Q

Quote field

R

RD (Referenced Document) field

Ref field

RevNum field

S

SaveDate field

Section field

SectionPages field

Seq (Sequence) field

SET field

SKIPIF field

StyleRef field

Subject field

Symbol field

T

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

U

UserAddress field

UserInitials field

UserName field

X

XE (Index Entry) field

Top of Page Top of Page

 
 
Applies to:
Word 2010, Word for Mac 2011