Show page number only for headings of level 1 in the Table of Contents

3

1

I have a TOC that is driven from 3 heading levels. I want all the levels on the TOC but on the page number for heading 1.

From the headers on the document:

  • Document Number SPS SOP 2002
    • Revision/Approval Date: 10/2016
      • Method: Direct Observation

What I get in the TOC:

Document Number SPS SOP 2002.............5
Revision/Approval Date: 10/2016................5
Method: Direct Observation.........................5

What I want from the TOC:

Document Number SPS SOP 2002...........5
Revision/Approval Date: 10/2016
Method: Direct Observation

Bryan Sisk

Posted 2014-09-24T12:59:49.680

Reputation: 41

was in a hurry - hopefully this clears it up. Nedd TOC but most items are on the same page in the section, so need the headers listed but want to delete the page number for levels 2 and 3 to clean the TOC up a bit – Bryan Sisk – 2014-09-24T13:44:10.030

Answers

4

You can press Alt + F9 to show field codes and add the following switch to the TOC:

{ TOC \n 3-4 }

As described in the Word documentation

\n Levels Omits page numbers from the table of contents. Page numbers are omitted from all levels unless a range of entry levels is specified. For example, { TOC \n 3-4 } omits page numbers from levels 3 and 4. Delete this switch to include page numbers.

Adam

Posted 2014-09-24T12:59:49.680

Reputation: 6 454