607
Some Useful Custom Fields
Word inserts a {STYLEREF “Heading 1”} field in the header (or footer). Every time Word
encounters the field, it finds the first “Heading 1” paragraph on the page, and turns the text
from the paragraph into the field result. If there is no “Heading 1” paragraph on the current
page, Word scans backward through the document toward the beginning until it encounters
that style, and uses that text as the field result.
Displaying Document Properties
Word provides dozens of additional fields that retrieve data associated with a document.
You’ve already seen these fields:
■ {CreateDate}, {SaveDate}, and {PrintDate}, all discussed ...