Forum Discussion

Neuro-VISION's avatar
Neuro-VISION
Copper Contributor
Apr 09, 2022
Solved

Word modified table of contents question

I have Word 2010 on my laptop, and Word 2019 on my desktop. I am writing a document on my laptop with 2010 but can move to my desktop with 2019 if I have to.

 

Question: In the TOC, how can I make it so that the page number is only visible on level one, but not level 2 or 3 etc? Below is the format that I want to print.

 

Chapter I . . . . . . . . . . . . 10

     How The West Was Won

     The Day Of The Week That The West Was Won

 

Chapter II . . . . . . . . . . . .15

      Saloons And Cowboys

      How Cowboys Got Drunk

 

Chapter III . . . . . . . . . . . 20

      Gunfights And The Aftermath

      Medical Treatment For Gunshot Wounds

  • 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.

     

6 Replies

  • 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.

     

Resources