Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Sep 2012
    Thanked 0 Times in 0 Posts

    Suppressing page numbers on TOC when using Heading 1

    Is there a way for the table of contents in Word 2010 to suppress page numbers when heading 1 is used? Heading 2 would page numbers.

    Example of what it might look like. Items in blue would be a Heading 1. Items with page numbers would be Heading 2. TOC Example Format.docx

  2. #2
    3 Star Lounger
    Join Date
    Apr 2008
    Northridge, California, USA
    Thanked 12 Times in 11 Posts
    Yes. You can edit the TOC field code, using the "\n" switch to instruct Word not to use page numbering for a particular heading level (in this case, Heading 1). See this Microsoft Knowledge Base article for more information (navigate about halfway down to the section about the "\n" switch).

    Go to the page where the TOC starts and press Alt F9 to display the TOC field codes (what you normally see is the code results). Insert your cursor into the code and type the switch, using the syntax shown in the Knowledge Base article -- except, since you want to hide the page numbering for only one heading level, use { TOC \n 1-1 } (i.e., hide the page numbering for level 1) rather than { TOC \n 3-4 } (hide the page numbering for levels 3 and 4). You have to use the "1-1" syntax or the code won't work properly.

    When you have finished editing the field code, press Alt F9 again to toggle the display back to showing the code results.

    That should do the trick. Let us know.

    Last edited by janbphd; 2012-10-03 at 20:01.
    Author, Formatting Legal Documents With Microsoft Word 2016,
    Formatting Legal Documents With Microsoft Word 2010​,
    and Formatting Legal Documents With Microsoft Office Word 2007

    For Word and WordPerfect tips, visit my blog at

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts