Apply Word’s default Heading 1, 2, and 3 styles to the headings.Press Enter a few times to create some space for the TOC.You need to use hierarchical heading styles for your headings and subheadings. To get a hierarchical TOC, make sure you also use hierarchical heading styles for each topic’s main heading, subheading, and sub-subheadings (e.g. You can either use Word’s built-in Heading styles or create your own. It’s very easy to set up an automatic Table of Contents (TOC) in Word 2007 - the only ‘rule’ is that you must use styles for your headings.