Forum Discussion
HowardPitchon
Jun 24, 2024Copper Contributor
Generated TOC, when using RD field code, yields every page as page 1
I have 37 separate Word documents. Word version is Microsoft Word for Microsoft 365 MSO (Version 2405 Build 16.0.17628.20006) 64-bit. I have a separate document to generate a table of contents (TOC)...
Jun 27, 2024
HowardPitchon Can you upload a copy of the TOC document and several of the other documents so that we can investigate the issue.
- HowardPitchonJun 27, 2024Copper Contributor
Doug_Robbins_Word_MVP Unfortunately I cannot as these are proprietary and confidential to my company. I will say that I can create one simple document with multiple pages and a separate TOC document (both files attached) with the following field codes:
{ RD "Chapter.docx" \f }
{ TOC CHAPTER \O "1-4" \H \Z \T " }
You will notice that the Chapter TOC generates the proper page numbers; the Document TOC shows all page numbers as 1.
I just don't get it. 🙂
- Jun 28, 2024
HowardPitchon Instead of
{ TOC CHAPTER \O "1-4" \H \Z \T " }
you need to use
{ TOC CHAPTER.docx \O "1-4" \H \Z \T " }
Then, after updating the TOC, you will get
- solovyeiJul 24, 2024Copper ContributorMyself and everyone else I've worked with in our company is having this same issue, although we haven't uninstalled and reinstalled Office 365; we did try going through and uninstalling and reinstalling the apps, though. Nothing has changed. Something is most definitely wrong.