Microsoft Office Word Forum - WordBanter

Microsoft Office Word Forum - WordBanter (http://www.wordbanter.com/index.php)
-   Page Layout (http://www.wordbanter.com/forumdisplay.php?f=7)
-   -   continuous page numbering through section breaks (http://www.wordbanter.com/showthread.php?t=133319)

jmc August 24th 09 07:16 PM

continuous page numbering through section breaks
 
The page numbering in footer returns to 1 after every section break in my
long document. I've repeatedly "fixed" this by clicking the "Continue from
previous section" button in the Page Number Format dialog box for each
section and saved the document. But when I open the document again, each
section starts back at page 1. I'm using Word 2007, odd and even page headers
and footers. What am I missing? Thanks.

Stefan Blom[_3_] August 24th 09 07:30 PM

continuous page numbering through section breaks
 
What you are doing should be working. However, sometimes Word doesn't
recognize certain modifications and consequently won't allow you to save the
document.

After you've selected the "Continue from previous" option, does it help if
you also make a change in the document, such as adding and deleting a
character, before saving?

You may also want to try running the following macro, just to be sure that
the restart option is being modified for all sections (even continuous ones
without visible headers and footers):

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

--
Stefan Blom
Microsoft Word MVP



"jmc" wrote in message
...
The page numbering in footer returns to 1 after every section break in my
long document. I've repeatedly "fixed" this by clicking the "Continue from
previous section" button in the Page Number Format dialog box for each
section and saved the document. But when I open the document again, each
section starts back at page 1. I'm using Word 2007, odd and even page
headers
and footers. What am I missing? Thanks.





jmc August 24th 09 08:00 PM

continuous page numbering through section breaks
 
I'm not familiar with macros - bit of a newbie. But I will doublecheck on
saving after making other changes. Thanks.

"Stefan Blom" wrote:

What you are doing should be working. However, sometimes Word doesn't
recognize certain modifications and consequently won't allow you to save the
document.

After you've selected the "Continue from previous" option, does it help if
you also make a change in the document, such as adding and deleting a
character, before saving?

You may also want to try running the following macro, just to be sure that
the restart option is being modified for all sections (even continuous ones
without visible headers and footers):

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

--
Stefan Blom
Microsoft Word MVP



"jmc" wrote in message
...
The page numbering in footer returns to 1 after every section break in my
long document. I've repeatedly "fixed" this by clicking the "Continue from
previous section" button in the Page Number Format dialog box for each
section and saved the document. But when I open the document again, each
section starts back at page 1. I'm using Word 2007, odd and even page
headers
and footers. What am I missing? Thanks.






[email protected] September 10th 13 10:38 PM

What you are doing should be working.
 
Cheers, the macro worked great. Thanks so much!

[email protected] December 2nd 13 10:06 PM

continuous page numbering through section breaks
 
On Monday, August 24, 2009 1:16:01 PM UTC-5, jmc wrote:
The page numbering in footer returns to 1 after every section break in my
long document. I've repeatedly "fixed" this by clicking the "Continue from
previous section" button in the Page Number Format dialog box for each
section and saved the document. But when I open the document again, each
section starts back at page 1. I'm using Word 2007, odd and even page headers
and footers. What am I missing? Thanks.


I had this issue in Word 2013. I was making changes to a document with Track Changes on when I set up the sections and used the macro included in this post to fill in the numbers. The macro worked fine but when I save it and reopened it, each section was set back to beginning with page 0. Turns out I needed to accept all the formatting changes to create the sections/headers and footers. THEN the page numbering would stick when saved. Just another nuance!

Stefan Blom[_3_] December 3rd 13 07:12 PM

continuous page numbering through section breaks
 
Field results and auto numbers may display incorrectly when you are tracking
changes. This is by design in Word. As you have noted, accepting (or
rejecting) changes fixes it.

--
Stefan Blom
Microsoft Word MVP




wrote in message
...
On Monday, August 24, 2009 1:16:01 PM UTC-5, jmc wrote:
The page numbering in footer returns to 1 after every section break in my
long document. I've repeatedly "fixed" this by clicking the "Continue
from
previous section" button in the Page Number Format dialog box for each
section and saved the document. But when I open the document again, each
section starts back at page 1. I'm using Word 2007, odd and even page
headers
and footers. What am I missing? Thanks.


I had this issue in Word 2013. I was making changes to a document with
Track Changes on when I set up the sections and used the macro included in
this post to fill in the numbers. The macro worked fine but when I save it
and reopened it, each section was set back to beginning with page 0. Turns
out I needed to accept all the formatting changes to create the
sections/headers and footers. THEN the page numbering would stick when
saved. Just another nuance!



[email protected] December 17th 13 04:52 PM

continuous page numbering through section breaks
 
This was very useful, so thank you stefan, but it must be said its really not a great experience to need to find a script to fix page numbering

:(


On Tuesday, December 3, 2013 7:12:21 PM UTC, Stefan Blom wrote:
Field results and auto numbers may display incorrectly when you are tracking

changes. This is by design in Word. As you have noted, accepting (or

rejecting) changes fixes it.



--

Stefan Blom

Microsoft Word MVP









wrote in message

...

On Monday, August 24, 2009 1:16:01 PM UTC-5, jmc wrote:


The page numbering in footer returns to 1 after every section break in my


long document. I've repeatedly "fixed" this by clicking the "Continue


from


previous section" button in the Page Number Format dialog box for each


section and saved the document. But when I open the document again, each


section starts back at page 1. I'm using Word 2007, odd and even page


headers


and footers. What am I missing? Thanks.




I had this issue in Word 2013. I was making changes to a document with


Track Changes on when I set up the sections and used the macro included in


this post to fill in the numbers. The macro worked fine but when I save it


and reopened it, each section was set back to beginning with page 0. Turns


out I needed to accept all the formatting changes to create the


sections/headers and footers. THEN the page numbering would stick when


saved. Just another nuance!


Stefan Blom[_3_] December 17th 13 08:44 PM

continuous page numbering through section breaks
 
To clarify, this thread deals with two matters: restarting page numbers when
there are continuous section breaks present and the behavior of fields when
Track Changes is enabled.

Note that you don't have to use a macro in order to adjust the page
numbering. Actually, recent versions of Word make it easier to change page
number restart options even for continuous sections. In Word 2007 and later,
you can access the Page Number Format dialog box via Insert tab | Page
Number | Format Page Numbers.

--
Stefan Blom
Microsoft Word MVP




wrote in message
...
This was very useful, so thank you stefan, but it must be said its really
not a great experience to need to find a script to fix page numbering

:(


On Tuesday, December 3, 2013 7:12:21 PM UTC, Stefan Blom wrote:
Field results and auto numbers may display incorrectly when you are
tracking

changes. This is by design in Word. As you have noted, accepting (or

rejecting) changes fixes it.



--

Stefan Blom

Microsoft Word MVP









wrote in message

...

On Monday, August 24, 2009 1:16:01 PM UTC-5, jmc wrote:


The page numbering in footer returns to 1 after every section break in
my


long document. I've repeatedly "fixed" this by clicking the "Continue


from


previous section" button in the Page Number Format dialog box for each


section and saved the document. But when I open the document again,
each


section starts back at page 1. I'm using Word 2007, odd and even page


headers


and footers. What am I missing? Thanks.




I had this issue in Word 2013. I was making changes to a document with


Track Changes on when I set up the sections and used the macro included
in


this post to fill in the numbers. The macro worked fine but when I save
it


and reopened it, each section was set back to beginning with page 0.
Turns


out I needed to accept all the formatting changes to create the


sections/headers and footers. THEN the page numbering would stick when


saved. Just another nuance!



[email protected] December 18th 13 01:36 PM

continuous page numbering through section breaks
 
A very useful macro. Thank you so much.

I struggled for an hour trying to get page numbers to be continuous across 30 pages, with each page containing multiple sections as I switched back and forth between having 1 and 2 columns.

I tried selecting all the sections and formatting page numbers to "Continue from previous section" (this required manually adding the Format Page Numbers to a ribbon). This did not work.

The macro reset everything so that page numbers were all continuous, across all sections, and I was able to manually update where I wanted pages to start from 1. Perfect. Thanks again.

Regards,

Jules
Aerospace Engineer


On Tuesday, 17 December 2013 16:44:27 UTC-4, Stefan Blom wrote:
To clarify, this thread deals with two matters: restarting page numbers when

there are continuous section breaks present and the behavior of fields when

Track Changes is enabled.



Note that you don't have to use a macro in order to adjust the page

numbering. Actually, recent versions of Word make it easier to change page

number restart options even for continuous sections. In Word 2007 and later,

you can access the Page Number Format dialog box via Insert tab | Page

Number | Format Page Numbers.



--

Stefan Blom

Microsoft Word MVP









wrote in message

...

This was very useful, so thank you stefan, but it must be said its really


not a great experience to need to find a script to fix page numbering




:(






On Tuesday, December 3, 2013 7:12:21 PM UTC, Stefan Blom wrote:


Field results and auto numbers may display incorrectly when you are


tracking




changes. This is by design in Word. As you have noted, accepting (or




rejecting) changes fixes it.








--




Stefan Blom




Microsoft Word MVP




















wrote in message




...




On Monday, August 24, 2009 1:16:01 PM UTC-5, jmc wrote:




The page numbering in footer returns to 1 after every section break in


my




long document. I've repeatedly "fixed" this by clicking the "Continue




from




previous section" button in the Page Number Format dialog box for each




section and saved the document. But when I open the document again,


each




section starts back at page 1. I'm using Word 2007, odd and even page




headers




and footers. What am I missing? Thanks.








I had this issue in Word 2013. I was making changes to a document with




Track Changes on when I set up the sections and used the macro included


in




this post to fill in the numbers. The macro worked fine but when I save


it




and reopened it, each section was set back to beginning with page 0.


Turns




out I needed to accept all the formatting changes to create the




sections/headers and footers. THEN the page numbering would stick when




saved. Just another nuance!



Stefan Blom[_3_] December 18th 13 11:39 PM

continuous page numbering through section breaks
 
With many sections, the macro certainly saves time. :-)

Thanks for the feedback!

--
Stefan Blom
Microsoft Word MVP




wrote in message
...
A very useful macro. Thank you so much.

I struggled for an hour trying to get page numbers to be continuous across
30 pages, with each page containing multiple sections as I switched back
and forth between having 1 and 2 columns.

I tried selecting all the sections and formatting page numbers to
"Continue from previous section" (this required manually adding the Format
Page Numbers to a ribbon). This did not work.

The macro reset everything so that page numbers were all continuous,
across all sections, and I was able to manually update where I wanted
pages to start from 1. Perfect. Thanks again.

Regards,

Jules
Aerospace Engineer


On Tuesday, 17 December 2013 16:44:27 UTC-4, Stefan Blom wrote:
To clarify, this thread deals with two matters: restarting page numbers
when

there are continuous section breaks present and the behavior of fields
when

Track Changes is enabled.



Note that you don't have to use a macro in order to adjust the page

numbering. Actually, recent versions of Word make it easier to change
page

number restart options even for continuous sections. In Word 2007 and
later,

you can access the Page Number Format dialog box via Insert tab | Page

Number | Format Page Numbers.



--

Stefan Blom

Microsoft Word MVP









wrote in message

...

This was very useful, so thank you stefan, but it must be said its
really


not a great experience to need to find a script to fix page numbering




:(






On Tuesday, December 3, 2013 7:12:21 PM UTC, Stefan Blom wrote:


Field results and auto numbers may display incorrectly when you are


tracking




changes. This is by design in Word. As you have noted, accepting (or




rejecting) changes fixes it.








--




Stefan Blom




Microsoft Word MVP




















wrote in message




...




On Monday, August 24, 2009 1:16:01 PM UTC-5, jmc wrote:




The page numbering in footer returns to 1 after every section break
in


my




long document. I've repeatedly "fixed" this by clicking the
"Continue




from




previous section" button in the Page Number Format dialog box for
each




section and saved the document. But when I open the document again,


each




section starts back at page 1. I'm using Word 2007, odd and even
page




headers




and footers. What am I missing? Thanks.








I had this issue in Word 2013. I was making changes to a document
with




Track Changes on when I set up the sections and used the macro
included


in




this post to fill in the numbers. The macro worked fine but when I
save


it




and reopened it, each section was set back to beginning with page 0.


Turns




out I needed to accept all the formatting changes to create the




sections/headers and footers. THEN the page numbering would stick
when




saved. Just another nuance!




All times are GMT +1. The time now is 06:40 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
WordBanter.com