Add heading styles

For each heading that you want in the table of contents, select the heading text, go to Home > Styles, and then choose Heading 12, or 3.

Add a heading

Create a table of contents

  1. Put your cursor where you want to add the table of contents.

  2. Go to References > Table of Contents, and choose Automatic Table 1 or Automatic Table 2, or choose Custom Table of Contents to create your own style.

    Create a table of contents

  3. If you make changes to your document that affect the table of contents, update the table of contents by right-clicking the table of contents and choosing Update Field.


Source: Microsoft