I want the filename in the footer of every document.

ADD Balance - trademark of Charles Kenyon, Attorney at Law and Webmaster. Frequently Asked Questions - Help
Microsoft Word - Frequently Asked Questions - click to go to the question list.

on ADD Balance by Madison Wisconsin Criminal Defense Lawyer Charles Kenyon

Many people visit this site and use the information it contains. It costs money to keep on line and effort to update.
If you have received assistance here
please consider making a donation if you can.

 
Thank you. Charles Kenyon

Thank you for the suggestions. ("Smilies" from Woody's Lounge.) Click to go to Lounge. with input and suggestions from many on Thank you for the suggestions. ("Smilies" from Woody's Lounge.) Click to go to Lounge.
the Microsoft Newsgroups and at Woody's Lounge 

Click here to skip past FAQ questions list and other info and go directly to the start of this topic.

Search the FAQ site on Google.

Remember to Refresh your page. [F5].

Home
Word Tutorial - Intermediate
Legal Users Guide to Word
Downloads
Books about Microsoft Word - Newsgroup suggestions
Links
Web Resources for Microsoft Word

 

Using Date Fields in Microsoft Word
Calculated Dates
Booklet Formatting and Printing in Microsoft Word
Changing the Default Font in Microsoft Word
Document linked to Printer in Microsoft Word
Fonts Missing from Menu in Microsoft Word
How can I get a different header / footer on the second page?
Heading? Header? Microsoft Word Help
More on Headers and Footers in Word
Letterhead
I want the filename in the footer of every document.
Margins Missing - White Space
Mapped Content Controls and Document Properties
Moving/Reorganizing Pages in Microsoft Word
Print Preview in Microsoft Word
Weird Lines and Borders
Macros and VBA
Malicious Macros vba in Microsoft Word
Master Documents Feature in Microsoft Word
A Back CoverPage in Microsoft Word
Normal Template in Microsoft Word - How to Open or Find the Normal Template
My docs open in the wrong program! Re-registering Word using the commandline.
Moving (Sharing) Customizations in Microsoft Word
Global StyleSheet?
MVP means?
Naming Files - A System is the Key
Posting tips in the Microsoft Word Forums
Getting rid of that (*)#"@^ paperclip! - Taming the Office Assistant
Page X of Y doesn't work in Microsoft Word!
Save Changes to the Global Template? Keeps Popping Up
Templates in Microsoft Word
Global Templates
Too Many Icons on the Taskbar in Microsoft Word 2000
Getting Rid of the Web Toolbar in Microsoft Word
Word for Word Perfect Users
Favorite Documents Menu
Work Menu in Microsoft Word
Spell Check Dialog Instead of Editor
Templates Menu in Microsoft Word
What books have been recommended about Microsoft Word?
Where can I find more templates?
Word Links

 

How can I get the FileName (and Path) in my Document Footer / In every document's footer?

This page last revised: 06 Jan 2024 23:47:34 -0500 .

 

Question posted:

I'm writing a book so need footers to keep track of all the separate parts. I've been wrestling with these questions for days - does anyone know the answer to any of these please:

  1. What's the fastest way to add the file name and path to documents?
  2. Is it possible to set a style in the footer - say 'calibiri 10'?
  3. Is it possible to set up a draft doc so that every time I open a new doc it automatically puts a footer in? (or is there another way to automatically put footers with the file name and path in every document?
  4. I'm sure I recall in older versions of Word that the filename and path would change on the footer if you moved the document to a different folder. Is that still possible? I can't find a way.
  5. Of course, I use OneDrive but also save a copy on my laptop. How does that affect the filename and path.

General Information:

The name of a Word file will be automatically shown using a FileName field which will reflect the name and path at the last time the field was updated.

{ FILENAME } or { FILENAME /p }

The filename field without the /p switch will simply show the filename.
The displayed filename will include the filename extension (.docx) if the user displays such extensions, otherwise not. This is a user Windows or OS option, not something set in the document.
 

Home
Word Tutorial - Intermediate
Legal Users Guide to Word
Downloads
Books about Microsoft Word - Newsgroup suggestions
Links
Web Resources for Microsoft Word
 

You've asked a number of related questions. I will address them one by one.

Here are some links that may help:

bulletSections / Headers and Footers in Microsoft Word (Ribbon Versions)
bullet FileName and Path Add-In
bullet FileName in Footer Template
bullet Supplemental Header/Footer Building Blocks

 

  1. What's the fastest way to add the file name and path to documents?

There is no single fastest way. There are a number of ways. In the menu versions of Word (97-2003) there is an AutoText Entry for this.

You can create your own AutoText entry with the field if you want. You can find an example in the downloads page. That includes a footer building block with FileName and Path field.

You can use a macro with a keyboard shortcut to insert this. An example is available in the Filename and Path Keyboard Shortcut Add-In.

2. Is it possible to set a style in the footer - say 'calibiri 10'?

Yes, there is already a style in the footer called the footer style. You can modify that to your font if you wish. Or you can create a new style. Understanding Styles in Microsoft Word

3. Is it possible to set up a draft doc so that every time I open a new doc it automatically puts a footer in?

Yes, this is called a "template." Templates in Microsoft Word
Look in my Add-Ins folder for the FileName and Path in the Footer Template.

(or is there another way to automatically put footers with the file name and path in every document?)
Yes, but this is harder.
Download Easy New Document Add-In for an example of how to do this.

You may get advice from someone to add this to your Normal.dotm. This is a very bad idea because it will mean you cannot use envelopes and labels.

4. I'm sure I recall in older versions of Word that the filename and path would change on the footer if you moved the document to a different folder. Is that still possible? I can't find a way.

Yes and no. Again, this is the Filename field in the footer. It does not update when you save the document in a different place, it will normally update when the document is printed or you use print preview.

You can force updates at other times using macros but then the user has to be willing to allow use of macros.
 

5. Of course, I use OneDrive but also save a copy on my laptop. How does that affect the filename and path?

A document on OneDrive and on your computer will have different paths because they are in different locations. Whether that will be shown by the field depends on how whether it is updated.

 

See also: How to insert the filename and path on the last page of a document, such that it will be updated automatically if the filename or path changes by Bill Coan, MVP.

 

Return to Questions List

 

 The up-to-date version of this FAQ may be found at:

http://www.addbalance.com/word/

Download this FAQ in Word 97 format

Send e-mail

Changes / suggestions / ideas can be sent to Charles Kenyon.

Hit Counter views since 13 April 2004

Many people visit this site and use the information it contains.
It costs money to keep on line and effort to update.
If you have received assistance here
please consider making a donation if you can.

 
Thank you. ckk

Copyright 2000-2024 Charles Kyle Kenyon

FAQ provided as an adjunct / hobby as a part of my web site as a criminal defense lawyer.

Smile! Bumper stickers and jokes.

Using Date Fields in Microsoft Word
Calculated Dates
Booklet Formatting and Printing in Microsoft Word
Changing the Default Font in Microsoft Word
Document linked to Printer in Microsoft Word
Fonts Missing from Menu in Microsoft Word
How can I get a different header / footer on the second page?
Heading? Header? Microsoft Word Help
More on Headers and Footers in Word
Letterhead
I want the filename in the footer of every document.
Margins Missing - White Space
Mapped Content Controls and Document Properties
Moving/Reorganizing Pages in Microsoft Word
Print Preview in Microsoft Word
Weird Lines and Borders
Macros and VBA
Malicious Macros vba in Microsoft Word
Master Documents Feature in Microsoft Word
A Back CoverPage in Microsoft Word
Normal Template in Microsoft Word - How to Open or Find the Normal Template
My docs open in the wrong program! Re-registering Word using the commandline.
Moving (Sharing) Customizations in Microsoft Word
Global StyleSheet?
MVP means?
Naming Files - A System is the Key
Posting tips in the Microsoft Word Forums
Getting rid of that (*)#"@^ paperclip! - Taming the Office Assistant
Page X of Y doesn't work in Microsoft Word!
Save Changes to the Global Template? Keeps Popping Up
Templates in Microsoft Word
Global Templates
Too Many Icons on the Taskbar in Microsoft Word 2000
Getting Rid of the Web Toolbar in Microsoft Word
Word for Word Perfect Users
Favorite Documents Menu
Work Menu in Microsoft Word
Spell Check Dialog Instead of Editor
Templates Menu in Microsoft Word
What books have been recommended about Microsoft Word?
Where can I find more templates?
Word Links

Click to return to table of contents page of Intermediate User's Guide to Microsoft Word.Click to go to Microsoft Word new users frequently asked questions site in a new browser window.
(Intermediate Users' Guide) - - - - - - - - - - - - - - - - - - -  (Questions List)

Home
Word Tutorial - Intermediate
Legal Users Guide to Word
Downloads
Books about Microsoft Word - Newsgroup suggestions
Links
Web Resources for Microsoft Word