How do I enter the path and file name on every word 2000 document.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to have the path and file name at the bottom of every Word 2000
document I create. I figured out how to create a Macro in Excel to do this
but it is not working in Word 2000.
 
On the Header/Footer toolbar you should have a dropdown menu labeled
Autotext. There should be an Autotext entry for Filename and Path. You can
also insert this using Insert>Field and the FileName field. You'll need to
set the option to display the path as well.
 
You can use a macro in Word also

Sub InsertFileNameAndPath()
Dim fname As String
If ActiveDocument.Saved = False Then ActiveDocument.Save
fname = Selection.Document.FullName
Selection.TypeText fname
End Sub


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

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Back
Top