I'm embarrassed to admit that I'm struggling to get a table of contents going in a Word doc that's already been created. I know enough to understand that the TOC is based on the type of the header/style and indentation. My approach so far has been to auto-generate the TOC and then try (unsuccessfully) to fix the problems; perhaps this isn't the best approach in this situation. What's happening is that the TOC is missing half my sections and for others it's adding way too much detail. Again my sense is I have to "fix" individual section headings but I haven't been successful so far.
I think you've got it already. :)
"auto-generate the TOC and then try to fix the problems..."
"..."fix" individual section headings"
This has always been my experience on getting TOC to work as expected in Word. Make sure you don't have things formatted as "headings" that aren't actually headings you want in the TOC, and vise versa: make sure headings you want in the TOC are actually formatted as "headings".
I suggest that you tackle the underlying problem (incorrect/messed up styles of headings) instead of a symptom that you see when TOC is generated from those headings.
Couple of strategies to do this:
- Pick a heading style in the list of styles (either in the Home tab of the ribbon or in the Styles panel -
Ctrl-Alt-Shift-Sto open it) starting from Heading 1, right-click on the style and choose Select all [X] instances. Now you can see exactly what text has this style in the document and therefore what text will appear in the TOC. Now you just need to make sure that only necessary heading text is styled with the
- Alternatively, you can use Style Inspector (open the Styles panel and click the second from the left button at the bottom of it - the one with the magnifying glass). Now you will see the style information of the line on which the cursor is on and if any modifications on top of the style have been made. This is helpful when the text you see doesn't look like it has been styled with a particular style (which may have happened as an incorrect fix to inappropriate styling).
If you follow the above and fix the underlying problems you will be able to update the TOC at any point in time without needing to fix it once it's generated again.
I hope this helps.
Hm... I answered a question like this today. I explained all this in detail in answering this question.