How to Delete Page Numbers from Table of Contents
Aug 15, 2020 ยท 2 minute read
If you want to delete the pages numbers from the table of contents you can easily follow these steps;
1- Click on the References tab.
2- In the table of contents part click on the “Custom table of contents”.
3- Unselect “Show page numbers”
4- Click ok.
5- Click on the Yes.
You can see, all the page’s numbers were deleted.
How to Remove Page Numbers in Table of Contents with Field Codes.
If you want to delete page numbers only in specific levels you could not use the previous method and you must use field codes.
Here we are going two explain this method with two examples, in the first example we will remove page numbers in the table of contents with 3 levels and in the second method we have a table of contents with four levels and we want to remove page numbers in the second and third and fourth levels.
First Example
Here we have a table of contents with three levels and we want to remove page numbers in the second and third levels.
For that you should follow these steps;
1- Press Alt + F9
Here you can see, your table of contents was converted to the formula.
2- At the end of the Formula add this switch, “\n 2-3”
This switch says remove page number in level two and three.
3- Update table of contents and choose “Update Entire Table” option.
4- Click ok.
5- Press Alt + F9 again you can see the page number in the second and third levels were removed in the table of contents.
Second Example
In this example, we have a table of contents which manually the fourth level was added in it and we want to remove page numbers in the second and third and fourth levels.
1- Press Alt + F9
Here you can see this switch was added to the formula
\t"Custom style,4"
because we manually added level four to this table of contents.
2- Add
“\n 2-4 "
before the previous switch, you should pay attention you should have space after n and number 4.
3- Update table of contents and choose “Update entire table” and click ok.
You can see all the pages number in the second and third and fourth levels were removed.