Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to indicate End of Document with multiple sections?

1,285 views
Skip to first unread message

Andrew Hardy

unread,
Apr 9, 2003, 6:29:40 AM4/9/03
to
I would like to place some 'End of Document' text on the last page footer of
a document. The document has multiple sections, some restart their page
numbering.

Without the sections, I'd use something like:

{IF { PAGE } < { NUMPAGES } "...Page {PAGE}..." "Page {PAGE} - End -" }

However, as there are sections, NUMPAGES will never match PAGE. At the
moment, the best that I can think of is to have a bookmark on the last page
and compare with that. This isn't a good solution as it means that I have to
ensure that the bookmark moves to the last page on demand.

Any thoughts on how to do this simple task?

Andy

Suzanne S. Barnhill

unread,
Apr 9, 2003, 8:15:59 AM4/9/03
to
You could still use the IF field you describe if you use the SectionPages
field instead of NumPages.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word

"Andrew Hardy" <spam.fr...@AdvanticaTech.com> wrote in message
news:b70snm$645$1...@sun-cc204.lut.ac.uk...

Andrew Hardy

unread,
Apr 9, 2003, 10:05:33 AM4/9/03
to
Suzanne,

"Suzanne S. Barnhill" <sbar...@mvps.org> wrote in message
news:u2faALp$CHA....@TK2MSFTNGP12.phx.gbl...


> You could still use the IF field you describe if you use the SectionPages
> field instead of NumPages.
>

But that still won't work - my section may have 10 pages, but the page
numbering continued from previous section(s) so it will be greater.

Andy


Suzanne S. Barnhill

unread,
Apr 9, 2003, 10:32:07 AM4/9/03
to
In that case I think you're stuck with the bookmark-on-last-page solution.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word

"Andrew Hardy" <spam.fr...@AdvanticaTech.com> wrote in message

news:b719cg$ac4$1...@sun-cc204.lut.ac.uk...

0 new messages