Exclude Number ToC Pages from Total of Pages X of Y

S

skholm

How do I exclude the ToC pages from the total of Pages Count - i have a
Section brks betwwen the Toc & main Doc but also have Section brks in the
main doa as well - Example - ToC is 3 pages & Main Doc is 56 but the laso
page shows "Page 56 of 59" Regards - Steve
 
S

Stefan Blom

Since there are several sections in the document, you will have to perform a
calculation to find out the desired page count.

For example, if you want to count the number of pages in a document minus
that of the first section, you can do this: In the header of section 1,
insert a SET field as follows:

{ SET section1count { SECTIONPAGES } }

Then, for Page X of Y, replace the NUMPAGES field with the following
construct:

{ = { NUMPAGES } - { REF section1count } }

To insert each pair of field delimiters, { }, use Ctrl+F9. Use Alt+F9 to
show/hide field codes. Press F9 to update the selected fields.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top