TOC question

Copper Contributor
In a Table of Contents I only want to have page numbers on the first level (called TOC1 in my Styles). How can I remove page numbers from TOC2, TOC3 etc.... Thanks in advance
2 Replies


Press Alt+F9 to display field codes. The TOC should look similar to this:


{ TOC \o "1-3" \h \z \u }


The exact switches after TOC might be different in your document.

Insert \n "2-9" before the closing bracket }. In the example above, it would look like


{ TOC \o "1-3" \h \z \u \n "2-9" }


The \n switch suppresses page numbers for the specified levels (here all levels below level 1, whether they are present or not)

Press Alt+F9 again, then update the TOC, choosing the option to update the entire table.



This is a duplicate question already asked and answered in the Microsoft Community at