Search all of Office.com
 
Support / Word / Word 2003 Help and How-to / Automating Tasks and Programmability / Field Types and Switches / Field Reference / Field Code - B-E
 
 

Field codes: DocProperty field

Applies to: Microsoft Office Word 2003

 

{ DOCPROPERTY "Name" }

Inserts the indicated document information that is currently entered in the Properties dialog box (File menu).

ShowInstructions

"Name"

The property that appears in the Properties dialog box. To select a property, click the property name in the Property box in the Field dialog box (Insert menu).

ShowExamples

Contact: { DOCPROPERTY Manager \* Upper }

In this example:

If the name of the Manager specified on the Summary field of the Properties dialog box is Anna Gerrard, inserting this field in your document results in the following:

Contact: ANNA GERRARD