Section Breaks and Page Numbering

  • Thread starter Thread starter MargaretA
  • Start date Start date
M

MargaretA

I have a document with several even page breaks.

I begin numbering several pages into the document, then restart numbering
after each blank even page break. At the end of the document I have Page 19
of 33. It should be Page 19 of 19.

Please tell me how to solve this dilemma! Thanks very much!

MargaretA
 
In page X of Y, what should be counted by the "Y" part? The number of pages
in a particular section? Or the total number of pages in certain sections?

Generally, to count the number of pages in a specific section, you can make
use of the SECTIONPAGES field (insert it in that section). So if you just
want to count the pages in one particular section, simply insert the
SECTIONPAGES field in that section.
 
Stefan,

I want the "Y" number to include all pages in the document with page
numbers. I don't want to include the blank pages or the few pages at the
very beginning of the document.
 
In each Word section whose page count you want, insert a field such as this
one:

{ SET pagecount1 { SECTIONPAGES } }

(Use pagecount2 in the second section, and so on.)

To insert each pair of field delimiters, { }, press Ctrl+F9. Press F9 to
update. Use Alt+F9 to show/hide field codes.

For the total page count, use the following field:

{ = { REF pagecount1 } + { REF pagecount2 } + { REF pagecount2 } }

(Of course, this is just an example with three sections.)
 
Stefan,

I really appreciate your helpfulness! And I hate to admit it, but I'm still
having trouble.

To get the page number in the footer of the section where numbering begins
at "1" (which is actually Section 7 of the document), I entered:

Page { SET pagecount1 { SECTIONPAGES } } of { = { REF pagecount7 } }

I selected all and pressed Alt+F9. I got additional code, instead of Page X
of Y.

Would you be so kind as to write the exact code for my document's Section 7,
where page numbering should begin at Page 1, and for Section 12, the last
section in the document? (There are 3 sections between Sections 7 and 12
that are single blank pages that should not be in the page count.)

I realize that I'm probably pushing the limit on my requests for help on
this topic, so I'm especially grateful for your attention. This problem has
made me a desperate woman!
 
I think this should do what you want (assuming that I understood your
requirements correctly):

In the footer of section 7: { SET pagecount1 { SECTIONPAGES } }Page { PAGE }
of { = { REF pagecount1 } + { REF pagecount2 } }

In the footer of section 12: { SET pagecount2 { SECTIONPAGES } }Page {
PAGE } of { = { REF pagecount1 } + { REF pagecount2 } }

(Note that each SET field has a nested SECTIONPAGES field, and the formula
fields have nested REF fields.)

Be sure to set the starting page number for section 12 to the appropriate
value.
 
Stefan,

When I used your code and pressed ALT+F9, the code remained.

If there's a way I can send you my document so that you can see how it's set
up, I'm sure that would help. Is that possible? The entire document is only
about 20 pages.
 
If the code remained, you didn't use CTRL+F9 for the field brackets {}.
These are fields not text!

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
I used Alt+F9
--
MargaretA


Graham Mayor said:
If the code remained, you didn't use CTRL+F9 for the field brackets {}.
These are fields not text!

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Alt+F9 just toggles the display from field codes to field results and back.
To insert a field, you must use Ctrl+F9.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 
I think I've finally figured it out. I think the code for the last "y" page
number (Page X of Y) in my document is:

{ = { NUMPAGES } -11 }

I hope it doesn't goof up for some crazy reason...but it's working right now.

Thanks to all of you!

MargaretA
 
Well, if you know that it is always 11 pages that should be excluded from
the count, you can of course use 11 in the formula field.
 
Back
Top