Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default Macro to change page numbers

I'm glad I could help!

--
Stefan Blom
Microsoft Word MVP




On 2012-04-27 03:41, jezra85 wrote:
Thanks for your help. It's very useful

'Stefan Blom[_3_ Wrote:
;492357']The following macro should do the trick:

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

--
Stefan Blom
Microsoft Word MVP



"jezra85" wrote in message
...-

I have a 400 page document with many sections. When I add page
numbers,
they reset after each section. I have to manually go through each
section and select to continue page numbers from previous section. Is
there a way to automate this using a macro?
Thanks




--
jezra85 -





 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Page numbers following column change Wallace Page Layout 1 May 14th 09 08:28 PM
How do I create a macro to delete hard-coded page numbers? icicle Microsoft Word Help 1 January 31st 07 06:06 AM
TOC page numbers change. BrownEyedMaria Microsoft Word Help 1 July 7th 06 05:45 PM
How do I change the page numbers in a 121 page document Jerrybra Microsoft Word Help 1 July 27th 05 07:59 PM
macro for updating TOC page numbers linda Microsoft Word Help 1 December 13th 04 04:22 PM


All times are GMT +1. The time now is 07:25 PM.

Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"