Consecutive page numbers keep renumbering themselves from 0

I’m working on a Word 2010 document with many sections (each chapter has a section break after it as I need the footnotes to be numbered from 1 each chapter). But I need the page numbering to be continuous. I keep making it continuous by going to the start of each section and clicking ‘Continue from next section’, which seems to work: all the pages are numbered consecutively – lovely. Then I save my document and close it. When I open it later, many of the sections have renumbered themselves ‘magically’ from 0. This keeps happening. Why? I’d appreciate any help as I just can't figure out why it's doing this. Thank you!
You may have missed some of the sections, which you can easily do for sections that are limited to part of a page. Display the section number on the status bar and carefully check that you change the restart option for all individual sections. Alternatively, you can run the following macro:

Sub NotRestartPageNums()
Dim s As Section
For Each s In ActiveDocument.Sections
s.Footers(wdHeaderFooterPrimary).PageNumbers _
.RestartNumberingAtSection = False
Next s
End Sub

See http://www.gmayor.com/installing_macro.htm.
Stefan Blom
Microsoft 365 Word MVP since 2005
Volunteer Moderator (Office)
MS 365, Win 11 Pro
~~~~
Please note that I do not work for Microsoft
MVP program info: https://mvp.microsoft.com/
~~~~

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated October 5, 2021 Views 397 Applies to: