Forum Discussion
Remove page numbers from a TOC
MY TOC is based on three styles, 1, 2 and 3.
All styles have their number in the TOC but I don't want Style 3 to have numbers. As seen below, the newspaper and date is Style 2 and the headline Style 3. How can I make Style 3 numberless? Tried and not bright enough it appears. Thanks Neill
Edit the field code and add the \n "3-3" switch which instructs Word to exclude numbering from level 3 (Heading 3) paragraphs. Levels 1–2 and any lower levels, 4–9, will still have page numbering in the TOC.
In Word for Windows, press Alt+F9 (or Alt+Fn+F9 on some keyboards). You should see something similar to { TOC \o "1-3" \h } in place of the table of contents. Add \n "3-3" at the end:
{ TOC \o "1-3" \h \n "3-3" }
Update the table of contents. If prompted, choose the option to update the whole table.
- neillbCopper Contributor
Thanks Stefan, brilliant.
It didn't appear to work at first as I hadn't clicked back onto the field text before pressing Alt + F9 again.
Neill