Microsoft Word How-to: Print Filename on Every Page Using Autotext
In a recent article we looked at how to create your own custom template to use in Microsoft Word. One of the things I find very handy is to print the name of the file in the footer of my Word documents. How many times have you looked at a letter, fax, or any kind of printed document and found yourself thinking "I wish I could remember what I called this file, it sure would make it easier to find". You can set up Word to automatically print that information in the footer of every document you save, and it's easy!
This article assumes that you have created a template (.dot) file, and are familiar with opening and modifying Word templates. If you are not you can look at this article, which gives detailed information on creating and saving templates.
The examples shown here are from Word 2003 running on Windows XP. If you are using a different version of Word and/or a different operating system your screens may look different than those shown, but the basic functionality should be the same.
I'm going to show how to do this in the footer of a Word template, but you can place an auto text field anywhere in any Word document. Open your template or document, then go to main menu and select View -> Header and Footer:
This will highlight the header, and bring up the Header and Footer floating toolbar. Select the 'Switch between Header and Footer' icon to easily get to the footer:
Now that you're looking at the footer, all you need to do is to click on the AutoText dropdown, and select 'filename' from the list:
Click on Close in the Header and Footer toolbar, and you're done. Simple as that, now every time you save a document the filename will show up in the bottom of the page. From here you can do any additional formatting that you would like, a horizontal line over the top of the footer is a simple touch that will separate it from the main body of the document: