#1
|
|||
|
|||
Removing Sections from headers and footers
I have somehow created sections on a long document so that when i put automatic page numbers down they go all to pot ie same numbers or resetting the start point. Can someone help me remove the sections as they are not needed.
Last edited by Charles Kenyon; 01-17-2016 at 09:27 AM. Reason: Mark as solved |
#2
|
|||
|
|||
They may or may not be needed. Running the following macro will make the page numbering continuous.
Code:
Sub ContinuousPageNumbers() ' Jay Freedman ' http://answers.microsoft.com/en-us/office/forum/office_2007-word/page-numbers-are-all-fouled-up-in-my-large/d188687e-9663-43e0-a450-1dbadc47f09f#last Dim secNum As Long With ActiveDocument For secNum = 2 To .Sections.Count .Sections(secNum).Headers(wdHeaderFooterPrimary) _ .PageNumbers.RestartNumberingAtSection = False Next End With End Sub Section changes can be for columns, page orientation, or margins changes. Sections / Headers and Footers in Microsoft Word 2007-2013 |
#3
|
||||
|
||||
Note that headers and footers don't have sections. Sections have headers and footers.
Using the replace function (CTRL+H) to replace ^b with nothing will remove all the section breaks, but try it on a copy of your document or you could quickly discover why the section breaks were included.
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
headers/footers | scot | Word | 3 | 05-22-2015 09:45 AM |
Headers and Footers | Kingsmoss | Word | 3 | 04-28-2014 02:43 PM |
Odd and Even Headers/Footers | sarineochaos | Word | 1 | 02-04-2014 06:15 PM |
Headers and Footers | teza2k06 | Word | 1 | 05-14-2013 11:07 AM |
Headers and Footers | OverAchiever13 | Word | 1 | 05-27-2010 01:30 PM |