Forum Discussion
Word modified table of contents question
- Apr 09, 2022
Neuro-VISION Press ALT+F9 to toggle on the display of the field codes in the document. In place of the Table of Contents, you will then see something like:
{ TOC \o "1-3" \h \z \u }
To that field add \n 2-3 as shown below:
{ TOC \o "1-3" \n 2-3 \h \z \u }
Press Alt+F9 again to toggle of the display of the field codes in the document and then select the Table of Contents and press F9 to update it.
Neuro-VISION Press ALT+F9 to toggle on the display of the field codes in the document. In place of the Table of Contents, you will then see something like:
{ TOC \o "1-3" \h \z \u }
To that field add \n 2-3 as shown below:
{ TOC \o "1-3" \n 2-3 \h \z \u }
Press Alt+F9 again to toggle of the display of the field codes in the document and then select the Table of Contents and press F9 to update it.
Why didn't I think of that? I mean it's so user friendly that -- never mind.
Thank you very much!
Regards,
Alan
- Lenka_KerumovaApr 11, 2022Iron Contributor
Doug is spot on!
There is more you can do, search for field switches.
Try this for start - where applicable, they also list available switches:
List of field codes in Word (microsoft.com)
This might interest you:
Field codes: TOC (Table of Contents) field (microsoft.com)
This is an older article, but it can take you to other information when searching:
Format (\*) field switch - Microsoft Office Word 2003 Documentation
You have to search the internet a bit to get relevant information; unfortunately, I didn't find one page which would describe all - as MS used to do with previous versions :(.
- Neuro-VISIONApr 11, 2022Copper ContributorThanks so much! I've bookmarked all of these pages.
- Stefan_BlomApr 11, 2022MVP
For more on customizing the TOC in Word, see Suzanne S. Barnhill's article at http://wordfaqs.ssbarnhill.com/TOCSwitches.htm.
- Neuro-VISIONApr 11, 2022Copper ContributorThank you so much!