Every now and then, for instance with a document including other documents, like in a homework assignment, you might want to exclude part of your Heading 1 (or Heading 2/Heading 3) entries from the table of contents.
Since presence in the Table of Contents is a ToC feature, not a style feature, you have to set the correct options in the ToC.
This is how you do it:
- Create new styles for the headings you do not want in the ToC (I call them “Heading 1, no ToC”; “Heading 2, no ToC”; etcetera) and base each on the corresponding style “Heading 1” or “Heading 2”
- Modify your Table of Contents to exclude these new styles (as they are automatically included)
This is contrary to many advices to use the “Reference” toolbar, then “Add Text” marked “Do Not Show In Table Of Contents”. That advice will remove the heading formatting completely and remove it from the navigation pane, so do not follow [WayBack] Quick Tip: How to exclude headings from the Table of Contents in Microsoft Word – jeffreykusters.nl.
The above solution both keeps the formatting, and the appearance in the navigation pane. It only disappears from the Table of Contents.
It is based on:
- [WayBack] How To Exclude Headings From The Table Of Contents In Microsoft Word | Lifehacker Australia
- [Archive.is] How to exclude certain headings from the multilevel numbering – Microsoft Community
- [Archive.is] Word 2016: Exclude Heading from TOC But NOT from Navigation Pane
- [Archive.is] How to remove table of contents but maintain heading format in Word – Microsoft Community (some people use names like “Hidden 1”, “Hidden 2”)
Following the above steps, you get styles like this: