Hi everyone,
I have a C# Application that, if neccessary, divides a large document into
separate smaller ones. But the first page of the second document must be one
more than the last page of the first document. No problem with that.
The problem is that in the footer of the page, I have a "Page x of y" field,
and the 'x' value is correct, but the y value is the number of pages of the
second document, when it should be the total number of pages of the whole
document.
Is there a way that I can set the value of the number of pages to the valur
that I need?
Thanks, from Spain
Charles Kenyon - 11 May 2004 21:11 GMT
Mark the numpages field in doc1 with a bookmark "TotPages"
Instead of a NumPages field use something along the lines of:
{ = { NumPages } + { INCLUDETEXT "doc1.doc" TotPages } }
You could do something similar with the X part as well so that you do not
have to manually adjust the start of page numbering.
BTW, Word will work with quite large documents. I have one with more than
5000 pages including a Table of Contents that references every page at least
once.

Signature
Charles Kenyon
Word New User FAQ & Web Directory: http://addbalance.com/word
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide
See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
> Hi everyone,
>
[quoted text clipped - 11 lines]
>
> Thanks, from Spain