Thursday, February 16, 2017

List of field codes in Word

List of field codes in Word

Fields in 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 current and recent versions of Word there's little need to insert fields manually, because built-in commands and content controls provide most of the capabilities that fields provided for earlier versions. You are more likely to encounter fields in documents that were created in an earlier version of Word.

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.

In this article

Field code syntax

List of field codes

Field code syntax

Field codes appear between curly braces ( { } ). Fields behave like formulas in Microsoft Excel — the field code is like the formula, and the field result is like the value that the formula produces. You can switch between displaying field codes and results in your document by pressing ALT+F9.

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

{ FIELD NAME Instructions Optional switches }

  • FIELD NAME     This is the name that appears in the list of field names in the Field dialog box.

  • Instructions     These are any instructions or variables that are used in a particular field. Not all fields have parameters, and in some fields, parameters are optional instead of required.

  • Optional switches    These are any optional settings that are available for a particular field. Not all fields have switches available, other than those that govern the formatting of the field results.

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

E

Embed field

F

FileName field

FileSize field

Fill-In field

= (Formula) field

G

GoToButton field

GreetingLine 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

MergeField 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

No comments:

Post a Comment