Inserting a Field into a Document

By far, the easiest way to put a field into a document is to use one of the built-in Word features to do the dirty work for you. For example, if you choose Insert, Date and Time, and then check the Update Automatically box, Word inserts a {Date} field into your document, adding a formatting switch for the date format you choose (see Figure 19.1).

Figure 19.1. Checking Update Automatically in this dialog box causes Word to insert a {Date} field, instead of the date itself.

Similarly, putting a page number in a header or footer using the Insert Page Number button on the Header and Footer toolbar will insert a {Page} ...

Get Special Edition Using Microsoft® Office XP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.