To automatically insert a table of contents in Microsoft Word, follow these steps:
- Apply heading styles throughout the document.
 
- In the references section in the ribbon, locate the Table of Contents group.
 
- Click the arrow next to the Table of Contents icon and select Custom Table of Contents.
 
- Select which levels of headings you would like to include in the table of contents.
 
- Click OK.
 
Make sure to update your table of contents if you move text or change headings. To update, simply right click and select Update Field.