If a section should appear as a primary section in the table of contents, select its heading, click the Home tab, and then select Heading 1 on the “Styles” panel. To add a sub-section to the primary section in the table of contents, give that section a Heading 2 header: Select its heading and choose Heading 2 from the Styles section. You can can also use Heading 3, Heading 4, etc. , to add even more pages to your table of contents. Make sure any page you want to include in the table of contents has a heading.

Use this method if you’ve made a change (changing a heading, adding/removing pages) to your document and need to update the table of contents to reflect that change. The only way to change the name of a section on the table of contents is to change the name of the corresponding header in the document.

Select Update page numbers only if you want to refresh the page numbers without applying any changes you’ve made to the headings. Select Update entire table to apply all heading and page number changes.

Use the checkbox next to “Show page numbers” to show or hide page numbers. If you just want to hide page numbers on the web version of the table of contents, check the box next to “Use hyperlinks instead of page numbers. " Use the checkbox next to “Right align pages numbers” top adjust the alignment. To change the style of the line or pattern that separates the heading title and the page number, make your selection from the “Tab leader” menu. To choose another theme, select something from the “Format” menu. To adjust how many heading levels are displayed in the table, select an option from the “Show levels” menu (the default is 3).

If you don’t see this button, click the “Formats” menu and select From template. It should appear then.