Footer

V

vpr

Word 2003 would automatically enter the file name and path of a new Word
document created from my template in my footer as desired. Word 2007 does
not do this. I must manually enter the new file name and path information
from a Quick Parts command each time I create a new Word document. Is there
anyway to make Word 2007 automatically enter the file name and path?
 
S

Suzanne S. Barnhill

If Word 2003 did this, it was because you had put the FILENAME \p field in
the footer of Normal.dot. It is not recommended that you add *anything* to
the header or footer of Normal.dot or Normal.dotm because it messes up
labels (and even envelopes). You can, however, make this easier in your
documents by downloading the "filename and path building block" from
http://office.microsoft.com/en-us/templates/TC300002951033.aspx.

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

Graham Mayor

I tend to use a macro to add the filename at the end of the document. Add it
to a QAT button http://www.gmayor.com/installing_macro.htm

Sub InsertFileNameAtEnd()
With ActiveDocument
If Len(.Path) = 0 Then .Save
If InStr(1, .Range.Paragraphs.Last.Range.Text, _
".doc") = False Then
.Range.InsertAfter vbCr & .FullName
With .Range.Paragraphs.Last.Range
.Paragraphs.Alignment = _
wdAlignParagraphRight
.Font.name = "Arial"
.Font.Size = 8
End With
Else
.Range.Paragraphs.Last.Range.Text = _
.FullName
End If
End With
End Sub

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.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