Microsoft Office Tutorials and References
In Depth Information
2. Select FileName from the Field Names list.
3. In the field properties, choose the format (text case).
4. Optionally (though recommended), put a check mark by the option Add Path to Filename.
5. Click OK.
The FileName field is updated even when you change the filename; the field always reflects the
file’s name. It’s an advantage of using fields over typing static text.
If filenames are to be part of a document’s header or footer, consider adding the
The Date and Time
Here’s a tip: With few exceptions, time travelers are the only ones who bother asking for the current
year. Otherwise, you probably have people who want to know the current date and time, or maybe
you simply want to insert the date or time, or both, into your document. Word has many tricks for
making it happen.
Adding the current date or time
Aside from looking at a calendar and typing a date, you can use the Date and Time button
(shown in the margin), found in the Text group on the Insert tab. Click the button to display a dialog
box from which you can choose how to insert the current date or time into your document.
Click the Update Automatically option in the dialog box so that the date-and-time text is always
The keyboard shortcut for the current date is Alt+Shift+D. This command inserts a content
control into your document to display the current date.
The keyboard shortcut for inserting the current time is Alt+Shift+T. Unlike the current date, this
shortcut inserts a field, not a content control, into your document.
See the sidebar “The mystery of content controls,” earlier in this chapter, for information on
Using the PrintDate field
One of the date fields I use most often is PrintDate. This field reflects the current date (and time, if
you like) that a document is printed. Here’s how it’s done: