Forum Discussion
Generated TOC, when using RD field code, yields every page as page 1
HowardPitchon Can you upload a copy of the TOC document and several of the other documents so that we can investigate the issue.
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.
- Jul 24, 2024
solovyei If you upload a copy of the documents, I will investigate the issue.
- HowardPitchonJun 28, 2024Copper ContributorAt the same time I placed the full file name in the TOC field code, my IT person decided to uninstall and reinstall Office 365 on my PC. Take your pick, my issue went away. All is right with the world.
Thank you, Doug, for your time and efforts.