|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Page numbers not following. All sections continuous, link to previous selected.
I have a word document.
There are columns which have created continuous section breaks. I have been through the entire document and ensured that link to previous is selected where available and that continue from previous section is selected in the formatting. What do I do next? |
#2
|
|||
|
|||
If you have page numbers on all pages but they are not continuous, you can use the Add-In or macro at:
Continuous Page Numbering Add-In |
#3
|
||||
|
||||
The Page Numbers continuation setting is independent of the actual header/footer contents which were aligned by your 'Link to previous' efforts.
So you will still need to go to all sections (after section 1) and verify the page numbers continue for each section. A macro is the fastest way to achieve and I would presume that Charles' addin will do that for you.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#4
|
||||
|
||||
Note that the page number restart options are separate from the linking/unlinking options of headers/footers.
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
#5
|
|||
|
|||
Restart page numbers is part of the Format Page Number dialog and must be set for each section after the first.
The default is to continue, but if you restart numbering in one section, it will restart at each new section created from that one on. Here is the basic macro used in my Add-In: Code:
Sub ContinuousPageNumbersMacro() ' ' ContinuousPageNumbersMacro Macro ' This macro makes page numbering continuous througout document. This is for multisection documents where it may be hard to find page breaks and figure out page numbering changes. ' ' 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 ' Can be used as straight macro or attached to keyboard shortcut ' modified to preserve track changes status - idea from Graham Mayor 25 Oct 2017 ' Dim secNum As Long Dim btnCancel ' give user chance to cancel Dim bTrackChanges As Boolean Dim strVersion As String strVersion = ThisDocument.CustomDocumentProperties("Version").Value btnCancel = MsgBox(prompt:="Do you want to reset all of the page numbers in this document to number continuously?", _ Title:="Continuous Page Numbering Version " & strVersion & " Are you sure?", _ Buttons:=vbYesNo) If btnCancel = vbNo Then MsgBox prompt:="Reset of continuous page numbering cancelled by user!", Buttons:=vbExclamation, Title:="Page Number Reset Cancelled!" Exit Sub End If ' Proceed with reset bTrackChanges = ActiveDocument.TrackRevisions 'Graham Mayor ActiveDocument.TrackRevisions = False ' Graham Mayor With ActiveDocument For secNum = 2 To .Sections.Count .Sections(secNum).Headers(wdHeaderFooterPrimary) _ .PageNumbers.RestartNumberingAtSection = False Next End With ActiveDocument.TrackRevisions = bTrackChanges 'Graham Mayor MsgBox prompt:="The Continuous Page Numbers macro has run.", Title:="Page number reset macro finished!" End Sub Instructions for Installing Macros from Forums or Websites by Graham Mayor, MVP |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Show/ hide three sections of a cover page based on the option selected in the drop down list | raizadamili | Word | 3 | 04-18-2018 06:56 AM |
Continuous Page Numbers with Multi-sectioned document are not working. | Morningside | Word | 4 | 05-19-2014 01:18 PM |
Trying to link page numbers in the footer, but refuses to link after new section | fl0shizzle | Word | 7 | 05-06-2014 12:15 PM |
How to paste sections with endnotes so numbers are continuous | PointyHead | Word | 1 | 03-09-2014 07:56 AM |
Continuous page numbers with mail merge? | Jennifer Murphy | Mail Merge | 1 | 08-11-2011 05:27 AM |