Page Numbering - Page X of Y

  • Thread starter Thread starter Nadihaha
  • Start date Start date
N

Nadihaha

Hi,

I'm currently using Word 2003.

I am busy setting up a template and I need the page numbering to show as
Page X of Y omitting the first 3 pages (Title page, Info page and TOC) So I
can get X to start at 1 no dramas there but Y shows the total amount of pages
in the document.

I thought I'd found the answer with changeing the settings from NUMPAGE to
SECTION but my problem is that I have lots of section breaks as I have lots
of parts of my template locked.

How do I get it to show the amount of ages after the TOC?

Many Thanks
 
Many Thanks. I will use that.

Question though, what happens if (god forbid) my TOC goes over it's one page,

Is there ask it to figure out how many pages exist after a certain section
or the TOC?

I'm trying to make sure this thing is idiot proof!!

If there's no way that's fine.
 
Hi Nadihaha,

The best approach would be to use a 'Next page' Section break to separate the fron matter & TOC from the rest of the document, then
insert a field coded as:
{SET Sectn1 {SECTIONPAGES}}
somewhere in the first Section. Note that this field will seem to disappear after you update it, so you might want to out in
somewhere safe (eg in the header/footer - provided Section 1's header/footer isn't linked to Section 2's header/footer).

Then, for the 'Y' part of the 'Page X of Y' expression, use a formual field coded as:
{=NUMPAGES}-Sectn1}

If you're using multiple Section breaks for the front matter & TOC, insert the SET field in each, using
{SET Sectn# {SECTIONPAGES}}
where # is the Section number. Then expand the formula field to {=NUMPAGES}-Sectn1-Sectn2} etc as required.

Note: The field brace pairs (ie '{ }') for the above examples are created via Ctrl-F9 - you can't simply type them or copy & paste
them from this message.
 
This is part of the warning, of the frontmatter increases and the user does
not know that there is a formula in the footer, probelms will arise.
One way could be to place a Bookmark on the last page of the document body,
make it hidden, then in the Footer instead of NumPage use a cross reference
to the bookmark and show the page of that bookmark.
Again you cannot distribute this file without informing any subsequent user.
I am sure there is a more suble method and someone may hop in here with it.
 
Macropod, nice one, I will remember this solution.
Regards
DeanH


macropod said:
Hi Nadihaha,

The best approach would be to use a 'Next page' Section break to separate the fron matter & TOC from the rest of the document, then
insert a field coded as:
{SET Sectn1 {SECTIONPAGES}}
somewhere in the first Section. Note that this field will seem to disappear after you update it, so you might want to out in
somewhere safe (eg in the header/footer - provided Section 1's header/footer isn't linked to Section 2's header/footer).

Then, for the 'Y' part of the 'Page X of Y' expression, use a formual field coded as:
{=NUMPAGES}-Sectn1}

If you're using multiple Section breaks for the front matter & TOC, insert the SET field in each, using
{SET Sectn# {SECTIONPAGES}}
where # is the Section number. Then expand the formula field to {=NUMPAGES}-Sectn1-Sectn2} etc as required.

Note: The field brace pairs (ie '{ }') for the above examples are created via Ctrl-F9 - you can't simply type them or copy & paste
them from this message.
--
Cheers
macropod
[Microsoft MVP - Word]


Nadihaha said:
Many Thanks. I will use that.

Question though, what happens if (god forbid) my TOC goes over it's one page,

Is there ask it to figure out how many pages exist after a certain section
or the TOC?

I'm trying to make sure this thing is idiot proof!!

If there's no way that's fine.
 
Thanks heaps guys!!

I'm sure I can get one of those to work

macropod said:
Hi Nadihaha,

The best approach would be to use a 'Next page' Section break to separate the fron matter & TOC from the rest of the document, then
insert a field coded as:
{SET Sectn1 {SECTIONPAGES}}
somewhere in the first Section. Note that this field will seem to disappear after you update it, so you might want to out in
somewhere safe (eg in the header/footer - provided Section 1's header/footer isn't linked to Section 2's header/footer).

Then, for the 'Y' part of the 'Page X of Y' expression, use a formual field coded as:
{=NUMPAGES}-Sectn1}

If you're using multiple Section breaks for the front matter & TOC, insert the SET field in each, using
{SET Sectn# {SECTIONPAGES}}
where # is the Section number. Then expand the formula field to {=NUMPAGES}-Sectn1-Sectn2} etc as required.

Note: The field brace pairs (ie '{ }') for the above examples are created via Ctrl-F9 - you can't simply type them or copy & paste
them from this message.
--
Cheers
macropod
[Microsoft MVP - Word]


Nadihaha said:
Many Thanks. I will use that.

Question though, what happens if (god forbid) my TOC goes over it's one page,

Is there ask it to figure out how many pages exist after a certain section
or the TOC?

I'm trying to make sure this thing is idiot proof!!

If there's no way that's fine.
 
Back
Top