I am combining two documents using Word Automation.
The first document has 2 pages which when the table on this document is
populated could expand to 3 pages. The second document has only 2 pages.
When totally combined I have 5 pages. The first document shows page 1,2,3
of 5.
How do I keep the total pages count on document 1 to not count the 2 pages
from document 2?
I have a section page break at the end of document 1 which doesn't seem to
work.
The Page X of Y feature makes use of two fields. You can display
field codes by pressing ALT+F9. You'll see Page { PAGE } of {
NUMPAGES }. Try replacing NUMPAGES with SECTIONPAGES (just type
it between the braces) and then press F9 to update the field.
Press ALT+F9 to hide field codes and redisplay results. Does this
fix the problem?
Note that if the SECTIONPAGES field doesn't work for you, you can
insert a bookmark on the last page of the first of the combined
documents and replace the NUMPAGES field with a cross-reference
to the page number of that bookmark. You can use
Insert>Reference>Cross-Reference to create the cross-reference.

Signature
Stefan Blom
> I am combining two documents using Word Automation.
>
[quoted text clipped - 9 lines]
> I have a section page break at the end of document 1 which doesn't seem to
> work.
Al - 19 Apr 2005 22:03 GMT
Thanks Stefan.
Using SECTIONPAGES instead of NUMPAGES worked. Page numbers behave properly
now!!
> The Page X of Y feature makes use of two fields. You can display
> field codes by pressing ALT+F9. You'll see Page { PAGE } of {
[quoted text clipped - 27 lines]
> doesn't seem to
> > work.
Stefan Blom - 20 Apr 2005 08:33 GMT
I'm glad I could help.

Signature
Stefan Blom
> Thanks Stefan.
>
[quoted text clipped - 32 lines]
> > doesn't seem to
> > > work.