bottom
Great WordTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > WordTips Home > Fields > Inserting a Document's Location

Inserting a Document's Location

Summary: One of the fields you can insert in a document will indicate the document’s file name and path. This tip explains how to construct the field properly to get all the information you need. (This tip works with Microsoft Word 97, Word 2000, Word 2002, and Word 2003.)

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 Word 2003:

  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. (Click here to see a related figure.)
  3. Choose Document Information from the Category list (top left corner of the dialog box).
  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


Create and Merge! Using Word's mail merge tool you can quickly and easily combine data from a variety of data sources to create great individualized documents that incorporate your data in ways that you control. WordTips: Mail Merge Magic is an invaluable source for learning how to harness the full power of Word's mail merging capabilities.
 
Check out WordTips: Mail Merge Magic today!

Helpful Links

Ask a Word Question
Make a Comment

Tips.Net Home
Tips.Net Store

WordTips FAQ
WordTips Premium

Learn Access Now

Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips

Advertise on the
WordTips Site

 

Great Info!

Get tips like this every week in WordTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)