Change page numbers to "Continue from previous Section"

D

dartspader

I have a huge Word document with close to a thousand sections that all start
over numbering pages at 1. I know I can go to each header and change the
page numbering to "continue from previous section" but was wondering if there
is a way to do this for multiple sections to save hundreds of keystrokes and
much time?
 
D

dartspader

Runs like a charm! As my supervisor said - "Sweet"
--
thank you,

d


Stefan Blom said:
Use this macro:

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

If you need assistance, see http://www.gmayor.com/installing_macro.htm.

--
Stefan Blom
Microsoft Word MVP


in message
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top