Microsoft Word can automatically generate a table of contents for you. Word is designed to pay attention to the form and organization of your text and to make certain assumptions based on common organizational structures. If you make consistent use of headings, Word can generate a table of contents based on your document's structure. Before you start To create a dynamic table of contents, you need to use headings to outline your document's structure. Word uses the headings to recognize the organization of the document.
Word thinks of headings in a hierarchical fashion.
Keeping this hierarchical structure in mind, break your document into sections using headings. Each section should start with a short title, formatted as a heading. Click on the location in your document where you would like your table of contents to appear. If it isn't, select it. Select the other options to suit your needs.