| < Day Day Up > |
|
When you want to insert a field into your document, start by choosing your location. You can add a field to the body of your document or you can insert a field in a header or footer. The process for adding a field is as follows:
Place the insertion point where you want to add the field.
Choose Insert, Field. The Field dialog box appears.
Click the Categories arrow and choose the category of field you want to add. Table 31-1 lists the various categories and provides a description of each.
Select any options you want to apply to the selected field, and click OK to add the field (see "Choosing Field Options" for more information).
Note | When you first add a field, Word displays the result of the field, not the actual field code, in the document. If you want to view the code itself, press Alt+F9. |
Field Category | Description | Field Codes |
---|---|---|
Date And Time | Fields for entering, editing, printing, and saving the current date and time. These fields cannot be modified by an end user. | CreateDate Date EditTime PrintDate SaveDate Time |
Document Automation | Fields for comparing documents, moving to another section, starting a macro, or printing. | Compare DocVariable GoToButton If MacroButton |
Document Information | Fields for inserting information automatically, including author name, document properties, file name, keywords, template, and the number of characters, pages, or words. | Author Comments DocProperty FileName FileSize Info Keywords LastSavedBy NumChars NumPages NumWords Subject Template Title |
Equations And Formulas | Fields for adding formulas or entering an offset amount, scientific equation, or symbols. | =(Formula) Advance Eq Symbol |
Index And Tables | Fields for entering index and table of contents entries. You can enter the codes from within the Field dialog box or allow Word to insert them automatically as you create the index or TOC. | Index RD TA TC TOA TOC XE |
Links And References | Fields for inserting text phrases and pictures and including links to various reference items, such as footnote references, literal quotes, pictures, bookmark text, and paragraphs. | AutoText AutoTextList Hyperlink IncludePicture IncludeText Link NoteRef PageRef Quote Ref StyleRef |
Mail Merge | Fields for inserting merge fields, including address book data, greeting lines, database records, and more. You can also use ASK and FILLIN fields to prompt users to enter information. | AddressBook Ask Compare Database FillIn GreetingLine If MergeField MergeRec MergeSeq Next NextIf Set SkipIf |
Numbering | Fields that insert automatic numbering of document pages and sections, as well as bar codes and list items. | AutoNum AutoNumLgl AutoNumOut BarCode ListNum Page RevNum Section SectionPages Seq |
User Information | Fields that insert user information, including addresses, initials, and names. | UserAddress UserInitials UserName |
| < Day Day Up > |
|