The technique described in the link is the same as I suggested in post #10. Done correctly, there should be no nesting errors. That said, there are variations on the field coding that would further reduce that possibility, too. For example:
To create the reference values-
• in the first document:
{SET LastPage {NUMPAGES}}
• in the second document:
{SET LastPage {={INCLUDETEXT "Path & Filename1" LastPage }+{NUMPAGES}}
• in the third document:
{SET LastPage {={INCLUDETEXT "Path & Filename2" LastPage }+{NUMPAGES}}
and so on.
Then, to create the outputs -
• in the first document:
{PAGE}
• in the second document:
{={INCLUDETEXT "Path & Filename1" LastPage }+{PAGE}}
• in the third document:
{={INCLUDETEXT "Path & Filename2" LastPage }+{PAGE}}
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|