Office Tab: Increases your productivity by 50% when viewing and editing multiple documents, helps to reduce thousands of tedious mouse clicks, free trial in 30-day! Click to free trial Now!
Office Tab - Brings Tabbed Interface To Office, Make Your Work Much Easier! Then press F5 key to run this code, all various headers and footers are deleted at once. (wdBorderBottom).LineStyle = wdLineStyleNoneĪ = wdSeekMainDocumentģ. VBA code: Remove all various headers and footers in current document: Sub RemoveHeadAndFoot()Ī = wdSeekCurrentPageHeader Click Insert > Module, and paste the following macro in the Module Window. Open the Word file that you want to remove all the headers and footers, and then hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window.Ģ.
Here, I will introduce a VBA code for dealing with this task.ġ. So, there are multiple various headers or footers in active document, to remove all these various headers or footers, you need to apply the above method for deleting the headers or footers over and over again. Supposing, your document has been divided into multiple sections, and every section has each header or footer. Remove all various headers and footers in active document with VBA code Tips: To remove all footers from this document, please repeat the above steps. And then, click Close Header and Footer to exit the editing mode, and the header content in page one has been removed at once. Then, check Different First Page under the Header & Footer tab, see screenshot:ģ. Open the Word file and go to the first page that you want to remove the header and footer, and then double-click the header area into editing mode.Ģ. If you just want to remove the header and footer from the first page of current document and keep others, please do as this:ġ. Remove the header and footer from the first page in active document
But, if there are multiple various headers and footers in one document, how to remove all of them at once? Normally, you can quickly remove all the headers and footers from a Word document just by double-clicking the header or footer field, and then remove them at once.
To remove a header or footer, follow these steps.How To Remove All Headers And Footers In Word? When you are done modifying the header, double-click the body of the document, or click the Close Header and Footer button in the Ribbon. Also, in the Header & Footer section of the Ribbon, you can adjust the header size, and choose if you want it to appear differently on odd and even pages. If you want the header of the first page to look different, check Different First Page in the Ribbon at the top of program window. With your cursor in the header section, type the text you want to appear in your header.īy default, the header appears in every page of your document.
To make additional edits to your header or footer, double-click it to open the Header & Footer editing tool.įor instance, double-clicking the header should appear similar to the example shown below.When you're done editing, click Close Header and Footer in the Ribbon.Place your cursor in the header or footer, and add the desired text.The selected template is added to your document. In the Header & Footer section, click Header or Footer.These instructions apply to Word 2019, Word 2016, Word 2013, Word 2010, and Word 2007.