In Word, tables of contents are based on paragraph styles or TC fields. In other words, the TOC doesn't directly reference a page.
Is there a chance thats every five pages start with a paragraph using a particular style?
Alternatively, if you can identify the content by other means, a macro may be used to insert TC fields.
__________________
Stefan Blom
Microsoft Word MVP
Microsoft 365 apps for business
Windows 11 Professional
|