Word.Tips.Net Welcome toWord.Tips.Net

Helpful Links

Tips.Net Home
WordTips Home

Ask a Word Question
Make a Comment

Tips.Net Store

WordTips FAQ
WordTips Premium

Learn Access Now
Free Printable Forms

Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Legal Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips

Advertise on the
WordTips Site

Newest Tips

Setting Fraction Bar Overhang Spacing in the Equation Editor

Printing On Both Sides of the Paper

Turning Off AutoComplete for Dates

Ordering Search and Replace

Understanding Auto Line Spacing

Adding Comments to Your Document

Conditional Calculations in Word

 

Inserting a Document's Location

Summary: Once you save a document on disk, it is stored in a particular folder (or location) on that disk. You may want that location to appear somewhere in your document. You can use the FileName field, discussed in this tip, to dynamically add that information. (This tip works with Microsoft Word 97, Word 2000, Word 2002, Word 2003, and Word 2007.)

It is often handy to insert the location of a document into your document itself. For instance, you may want the footer of your document to include an indication of a document's file name, along with the full path for the file. You can do this easily by following these steps if you are using Word 2002 or a later version:

  1. Position the insertion point where you want the file name inserted.
  2. Display the Field dialog box. (In Word 2007 make sure the Insert tab of the ribbon is displayed, and then click Quick Parts in the Text group. In the resulting choices, choose Field. In older versions of Word choose Field from the Insert menu.)
  3. Choose Document Information from the Category list (top left corner of the dialog box). (Click here to see a related figure.)
  4. Select FileName from the Insert Field Type list.
  5. Click on the Field Codes button. Word modifies the display of the dialog box.
  6. Click Options. Word displays the Field Options dialog box.
  7. Click on the Field Specific Options tab. (Click here to see a related figure.)
  8. Choose the \p option. (This causes the path of the file name to be included in the field results.)
  9. Click on Add to Field.
  10. Click on OK to close the Field Options dialog box.
  11. Click on OK to close the Field dialog box and insert the field.

If you are using Word 97 or Word 2000, the steps are slightly different:

  1. Position the insertion point where you want the file name inserted.
  2. Choose Field from the Insert menu. Word displays the Field dialog box.
  3. Choose Document Information as the field category (left side of the dialog box).
  4. Select FileName from the Insert Field Type list.
  5. Click on Options. Word displays the Field Options dialog box.
  6. Click on the Field Specific Options tab.
  7. Choose the \p option. (This causes the path of the file name to be included in the field results.)
  8. Click on Add to Field.
  9. Click on OK to close the Field Options dialog box.
  10. Click on OK to close the Field dialog box and insert the field.

Tip #1085 applies to Microsoft Word versions: 97 | 2000 | 2002 | 2003 | 2007

Add a Professional Finishing Touch! Word includes great tools that allow you to add professional-grade finishing touches to your documents. You can add indexes, tables of contents, and other special tables by using the detailed information available in this volume.
 
Check out WordTips: Indexes and Special Tables today!