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

S

Scruffy

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.
 
A

Allan S. Warrior

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.
 
G

Graham Mayor

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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