View Single Post
  #4   Report Post  
Posted to microsoft.public.word.newusers
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default Restart existing page numbers in each section

On Wed, 23 Dec 2009 13:13:23 -0800, Sesquipedalian Sam
wrote:

On Wed, 23 Dec 2009 14:48:58 -0600, "Suzanne S. Barnhill"
wrote:

Insert | Page Numbers is one way to go, depending on version. If you're
using Word 2003 or earlier, you can get to the Page Number Format dialog
directly from the Header and Footer toolbar (the Format Page Number button).
In Word 2007, you use Insert | Page Numbers | Format Page Numbers to get to
it. Then use "Start at 1" for each section.


I'm using Word 2007, sorry.

That procedure works, but apparently I have to manually do it for each
section one at a time, right? I tried selecting all sections and then
doing the procedure above, but no joy.


To do it manually, you do have to repeat the same procedure for each
section. To automate it, use the following macro (see
http://www.gmayor.com/installing_macro.htm if needed):

Sub StartEverySectionAtPage1()
Dim oSec As Section
For Each oSec In ActiveDocument.Sections
With oSec.Headers(wdHeaderFooterPrimary).PageNumbers
.RestartNumberingAtSection = True
.StartingNumber = 1
End With
Next
End Sub

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.