'Note: j provides the constant value to unlink all three header\footer types.ġ. I = oDoc.Range(0, Selection.Sections(1).Range.End).Sections.Count 'Get the index number of the added section Selection.InsertBreak Type:=wdSectionBreakNextPage When adding the new section the header text in section one is automatically applied to the header text in section two. In the illustration below I've started with a single section document containing header text and then added a section break. While this feature is very handy for repeating header and footer information in subsequent sections, I think it becomes a nuisance when you want to change part or all of the header/footer text in your new sections. As shown below, the header text in section two is linked by default to the header text in section one. One thing that I don't like about the built-in user interface for adding sections is the header and footer of any new section inserted is linked to the previous section header and footer by default and "stays that way" without further user actions. Sections in Word can be fickle (see InfoBit Blog Section Breaks). Section's page numbering without affecting other sections.The purpose of this Microsoft Word Tips & Microsoft Word Help page is provide a VBA solution to automatic linked headers and footers. To separate the document into more portions, repeat these instructionsĪfter separating the document into sections, you can remove each Separates the section's headers or footers from those above. Click the Same as Previous button to disable it.Toolbar will reveal the name of each button.) (Placing your cursor over the buttons on the On the Header and Footer toolbar, find the Same as.
In Mac OS, from the Insert menu, choose Break and In Windows, from the Insert menu, selectīreak.Determine where you want to divide the document, and place your.To remove page numbers for part of aĭocument, you must divide the document into sections and break theĬonnection between them. When you delete a page number, Word automatically removes the page On the Header and Footer toolbar, click Close.Select everything in your header or footer and use the For example, right-justified page numbers mayĪppear on the left of the page. Will remain and displace any page number that you might attempt to Note: If you do not delete the page number frame, it Number (and, if applicable, the frame surrounding it).