Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Word has Headings 1 - 9, but by default only 1 - 3 will show in the TOC.

So, to apply a style to selected text other than Heading 1 - 3, I have done this:

  1. select the text
  2. right-click the selected text
  3. select Styles... from the dropdown list
  4. select Apply Styles... from the dropdown list
  5. type Heading 4 into the textbox, and hit enter

Now that the text is styled correctly, it does not show in the TOC! I have read mention of changing the "field codes" of the TOC to something like this: { TOC \o "1-4" }, but such examples only applied to Word 2007...

So how do you do this in Word 2010?

share|improve this question
up vote 5 down vote accepted

You can use the same method as in Word 2007.

  1. Click the 3 vertical dots in the box that says "Update Table" at the top so the whole table is selected
  2. Right click and select "Toggle Field Codes" (or type Shift+F9)

You should see {TOC \o "1-3" \h\z\u}.

  1. Edit the part where it says "1-3" to whatever amount of indents you'd like e.g. "1-4" = 4 indents

  2. repeat step 1 and step 2

  3. Click "Update Table...".

share|improve this answer
Thanks for the quick reply @darthbith. Hmm, so when I do this, the entire selected text of the TOC is replaced with the existing field code {TOC \o "1-3" \h\z\u}. How do I stop it from deleting all of the TOC's text? – Ian Campbell Aug 15 '13 at 16:05
Nevermind, I just figured it out -- following these instructions I modify the field code to {TOC \o "1-4" \h\z\u} as was suggested. Then I click on the 3 vertical dots on the upper-left of the TOC again, right click the TOC textarea and select Toggle Field Codes again to revert it back to its' text. Then you have to update the TOC to see the change take affect. – Ian Campbell Aug 15 '13 at 16:17
Ah yes, forgot to mention how to change it back :-) I'll edit the answer. Glad it worked for you! – darthbith Aug 15 '13 at 16:26
Also, see here:… – darthbith Aug 15 '13 at 16:30

A simpler solution would be to select the table of contents and click Alt+F9. You should probably see the following code: { TOC \o "1-3" \h }

Change 3 to 4 and the problem should be solved.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .