How can I automatically insert the filename of my document, including its full path, into the header of my Word 6 file?
- Firstly, start Microsoft Word (version 6 or later) and open your document.
- Select the View menu then Header and Footer… to get into the header of your document.
- Select the Insert menu then Field…
- Click Document Information on the left then FileName on the right in the Insert Field dialogue box like this:
- Click the Options button in the dialogue box, then the Field Specific Switches tab.
- Click the Add to Field button, which inserts the full path of the file.
- Make sure your dialogue box looks something like this, then click OK and OK again:
- The code for inserting your filename with its full path is automatically entered, and something like c:\My Documents\report.doc appears. Pressing (Alt)(F9) displays the actual Word code for the full path and filename, and something like the following appears:
Press (Alt)(F9) again to see the actual path and filename.
If you change the filename through the File menu then Save As…, the filename field will automatically update. One suggestion is to set up a macro which inserts the name and full path automatically for you.
// Related Posted - GOOGLE!
Loading
Related Websites
- Make Cross-Domain AJAX Requests with xdRequest xdRequest is an open-source JavaScript library that I've developed for making cross-domain AJAX requests. In this day and age, with...
- Submit More Work at Home Articles in Less Time by Using Roboform As an Article Submission Tool You've just put the finishing touches on your work at home article, and now it's time to share it with...
- MyPoints at ludicrous speed Photo by: dsearls MyPoints is a great program, but let's face it going through their emails can get a bit...
- Creating and Hosting Blog Carnivals When it is done properly, creating and organizing your own Blog Carnival is a practice that can be truly rewarding....
- Excel How-to: Creating a Pivot Table A pivot table is a merely a summary of data in a format that you can manipulate to suit your...
