How To Put Filename In Footer In Word For Mac
Lesson 16: Headers and Footers /en/word2016/columns/content/ Introduction The header is a section of the document that appears in the top margin, while the footer is a section of the document that appears in the bottom margin. Headers and footers generally contain additional information such as page numbers, dates, an author's name, and footnotes, which can help keep longer documents organized and make them easier to read. Mac emulator for windows 10. Text entered in the header or footer will appear on each page of the document. Optional: Download our. Watch the video below to learn more about headers and footers in Word.
In the Word document, navigate to Insert menu, click the Footer option and pick Blank (Three Columns) from drop down list. Insert filename in Footer After selecting the column where you want to insert filename, navigate to Quick Parts under Text section and click the Filed menu option.
To insert the date or time into a header or footer: Sometimes it's helpful to include the date or time in the header or footer. For example, you may want your document to show the date when it was created. On the other hand, you may want to show the date when it was printed, which you can do by setting it to update automatically. This is useful if you frequently update and print a document because you'll always be able to tell which version is the most recent. • Double-click anywhere on the header or footer to unlock it. Place the insertion point where you want the date or time to appear.
In our example, we'll place the insertion point on the line below the author's name. If you've already downloaded our practice document in order to follow along with the lesson, be sure to download a fresh copy by clicking the link in this step. • Open the header. • Choose Align Right on the Home tab and type your name.
• Below your name, use the Date & Time command on the Design tab and insert the date. You can use whichever format you like. • In the footer section, insert the preset footer Grid.
• Close the header and footer. • When you're finished, your page should look something like this.
Your feeling is quite right. Insert > QuickParts > Field > FileName is the way to go, but as you see from the screenshot below, you do not have the option to turn the file extension on or off. To show or not to show (Shakespearean style) the extension is purely up to the Windows Explorer setting to show or hide known file extensions.
So, either you change that setting or you need some code. A very simple Macro would be the following: Sub InsertCurrentFileName() Selection.InsertBefore Text:=Left(ActiveDocument.Name, Len(ActiveDocument.Name) - 4) End Sub What it does is simply strip the last 4 characters of the 'Filename string' e.g. '.doc' - if you safe a '.docx' the '.' Would be preserved. Also this Macro would run once and you would need to run it again when the filename changes. Maybe you could explain some more what you want to achieve with having the filename in the document header?
Are you trying to use the filename in the document header to set some PDF property during conversion? Why not use the Document Title? Do you need the original filename in the PDF later - why? Two more pages to help you with your problem (both relying on Macros.): • •. Indeed there is no 'basename only' option for the FileName field. Long term: Feature request For the long term I've made a feature request with Microsoft at: I invite you, and others visiting this post, to up-vote that suggestion. Short term workarounds Macro (VBA code) Writing a macro, as @DennisG has suggested, is probably the most convenient work around.