Adding a path to a footnote

K

Kerri

I want to be able to add a path (showing where the document is saved) in a
footnote. How is that done?
 
H

Herb Tyson [MVP]

The document name and path can be displayed using the filename field with
the \p switch.

Press Ctrl+F9

Type: filename \p

Press F9

If you want only the path -- and not the filename -- you would need to use a
macro.
 
O

Opinicus

Herb Tyson said:
The document name and path can be displayed using the filename field with
the \p switch.
Press Ctrl+F9
Type: filename \p
Press F9
If you want only the path -- and not the filename -- you would need to use
a macro.

How do I fix it so that the field is automatically updated every time the
filename is changed? As things currently stand I have to right-click on the
field and select "Update".
 
S

Suzanne S. Barnhill

If the field is in the header or footer, it will update when you print (and
possibly when you Print Preview) even if you don't have "Update fields"
checked on the Print tab of Tools | Options (fields in the header and footer
are always updated); otherwise, you do have to update manually (you can also
use Ctrl+A, Ctrl+F9 to update fields in the document body).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 
H

Herb Tyson [MVP]

Unfortunately, the filename field is not all that dynamic when it comes to
updates. Easier than right-clicking and clicking Update is to click on the
field and press F9. But, it still has to be done, unfortunately. Anything
more automatic would need a macro... (you could, for example, create an
AutoOpen macro that automatically updates the filename field each time a
file is opened).

--
Herb Tyson MS MVP
Author of the Word 2007 Bible
Blog: http://word2007bible.herbtyson.com
Web: http://www.herbtyson.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top