MS Word TOC that references # pages rather than page number

Posted by buttonsrtoys on Super User See other posts from Super User or by buttonsrtoys
Published on 2014-05-29T20:53:20Z Indexed on 2014/05/29 21:37 UTC
Read the original article Hit count: 228

Filed under:

We frequently need to write specifications in Word which require a TOC that refers to the total number of pages in a section, rather than the page number. E.g.,

Section                    No. Pages
01010 Summary of Work..............5
01025 Prices.......................2
01400 Quality Control..............1
01700 Contract Close Out...........2

A wrinkle is that each section is a separate file. To date, we've been writing or TOC by hand, which has introduced every error imaginable. Is there an MS feature that populates a TOC with page totals? If not, I've done a little VB in Office, so wouldn't be opposed to that route as need be, as long as it was usable by our low tech users.

Related question - all the section files are in the same folder. It would be nice if the TOC loaded every file in a folder, rather than having to specify each one. Is this a feature of Word or would this require VB? We tried a master document with links to subdocuments, but since the number of section files ebbs and flows with each project, the approach required too much maintenance for our Wordophobes.

© Super User or respective owner

Related posts about microsoft-word