Word tasks · Properties and fields
Add a document property and show it in the text with a field in Word
Type a document's title on its cover page and the same title has to be typed again in the header, again in the footer — and corrected in three places when it changes. Word already stores that title once, as a document property. This guide sets a property such as Title or Manager, then places it in the text as a field, so every appearance reads the one stored value and an update happens in a single place.
Set the property value first
A field can only show what the document's properties hold, so fill the property in before placing it. Microsoft's help on how to view or change the properties for an Office file covers where these values live.
- Choose File > Info. The right-hand side lists the document's properties — Title, and others — with space to type beside the editable ones.
- Click a value and type. Click beside Title and type the document's title. Some properties, like Manager or Company, are not shown in this short list.
- For the full list, click Properties > Advanced Properties. The dialog's Summary tab holds Title, Subject, Author, Manager, Company, Category and Keywords, among others. Fill in the ones you need, then click OK.
- Save the document. The property values are stored inside the file, so they travel with it and every field in the text reads the same stored value.
Show the property in the text with a field
Microsoft's reference on the DocProperty field gives the underlying form — { DOCPROPERTY "Title" } — and its Quick Parts help covers the friendlier route, which inserts the same thing without typing field codes.
- Click in the text where the value belongs. A cover page under the heading, a header, a 'Prepared for' line — anywhere the property should appear as part of the document.
- Choose Insert > Quick Parts > Document Property. A list of the standard properties appears.
- Click the property — Title, Manager, and so on. Its current value appears in the text at the cursor, in a shaded control. If the property is empty, the control shows the property's name as a prompt instead — fill the value in through File > Info and it takes the prompt's place.
- Repeat wherever the value is needed. Each placement shows the same stored value, so a title page, a header and a footer can all carry the Title and can never disagree with each other.
- For a property the Quick Parts list does not offer, use Insert > Quick Parts > Field. Choose
DocPropertyin the field list, pick the property name, and click OK — the same field, reached through the general field dialog.
A property inserted through Quick Parts > Document Property sits in a content control: edit the value in any one place and the stored property changes with it. A plain DocProperty field, inserted through the Field dialog, is one-way — it shows the stored value, and after changing the value under File > Info you refresh the fields with Ctrl + A then F9 to see the change everywhere. Either way, the property is the single source; the text only displays it.
A practical pattern: the cover page that fills itself in
The pattern this is most useful for is a template: build the cover page once with Document Property controls for Title, Author and Manager, and save it as a template. Every document started from it asks for nothing new — the author fills the properties once under File > Info (or directly in the cover page controls), and the title page, headers and footers all show the same values, spelled the same way, everywhere.
End state
- The property (Title, Manager, or another) holds its value under File > Info / Advanced Properties.
- The text shows that value wherever the field or control was placed — cover page, header, footer.
- Changing the stored value and refreshing fields updates every appearance at once.
- No appearance of the value was typed by hand, so no two places can disagree.
When it goes wrong
- The inserted control shows the property name instead of a value. The property is empty. Type the value under File > Info (or directly into the control) and the real value replaces the prompt.
- You changed the property but the text still shows the old value. Plain fields refresh on demand: select all with Ctrl + A and press F9. Headers and footers update when the document is printed or previewed, or by clicking into them and updating the field there.
- Manager is not in the Quick Parts list you expected. Use the Field dialog route instead: Insert > Quick Parts > Field, choose
DocProperty, and pick Manager from its property list — the full set lives there. - You see
{ DOCPROPERTY "Title" }in the text. Field codes are being displayed instead of results. Press Alt + F9 to toggle back to the values.
Related document tasks
-
Add a QR code or barcode image into a Word document
Add a QR code or barcode into a Word document: generate the code as an image and insert it, use a Word add-in, or use Word's built-in barcode field where it fits — then size it and test-scan the printed result.
-
Add a SmartArt diagram to a Word document
Add a SmartArt diagram to a Word document: insert a Process, Cycle, Hierarchy or other layout from Insert > SmartArt, type your points in the text pane, add and remove shapes, change levels, and restyle the whole graphic with colors and SmartArt Styles.
-
Add cross-references in Word that update when the document changes
Typing “see Figure 4 on page 12” by hand guarantees the reference is wrong after the next edit.
-
Add a signature line in Word and sign a Word document
A contract or consent form that says "sign here" should not leave the signer guessing where to sign, or the recipient guessing whether the file was signed at all.
Sources
- Microsoft Support, View or change the properties for an Office file — where document properties are shown and edited, including the Advanced Properties dialog.
- Microsoft Support, Field codes:
DocPropertyfield — theDocPropertyfield's syntax, its worked Manager example, and how the field reads the Properties dialog values. - Microsoft Support, Quick Parts — inserting a document property from Insert > Quick Parts > Document Property, and the Field route for the wider list.