Share via

TC field code non-functional

Anonymous
2011-08-17T20:41:07+00:00

I can't get the TC field code to work.  I have tried using Insert->Quick Parts->Field Codes, and Ctrl F9.  In the latter case I get the grayed out brackets, but as soon as I type in TC, the gray is gone, but the bold brackets with text inside remain.  The text is not recognized when I build a table of contents.  Other field codes seem to work fine.

Any thoughts?

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Suzanne S Barnhill 278.1K Reputation points MVP Volunteer Moderator
2011-08-17T21:46:16+00:00

TC fields, like XE fields, are formatted as Hidden text, so revealing field codes (Alt+F9) will not reveal them; displaying Hidden text will.

To include TC fields in a TOC, you must check the box for "Table entry fields" in the Table of Contents Options dialog or add the \f switch to the TOC field.

An easy way to insert a TC field that will reflect text that exists in the document is to us the Mark Table of Contents dialog:

  1. Select the first portion of text that you want to include in your table of contents.
  2. Press ALT+SHIFT+O.
  3. In the Level box, select the level and click Mark.
  4. To mark additional entries, select the text, click in the Entry box, and click Mark. When you have finished adding entries, click Close.
  5. Click where you want to insert the table of contents.
  6. On the Insert menu, point to Reference, and click Index and Tables.
  7. Click the Table of Contents tab.
  8. Click the Options button.
  9. In the Table of Contents Options box, select the Table entry fields check box.
  10. Clear the Styles and Outline levels check boxes.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2011-08-18T23:36:11+00:00

    What you're looking for (Table entry fields)  is here: References tab > Table of Contents > Insert TOC > Options.

    Pam

    Was this answer helpful?

    0 comments No comments
  2. Suzanne S Barnhill 278.1K Reputation points MVP Volunteer Moderator
    2011-08-18T23:27:39+00:00

    In Word 2010, don't even think about using any of the built-in TOC building blocks. Instead, in References | Table of Contents | Table of Contents, choose Insert Table of Contents..., which will open the classic Table of Contents dialog, where you can click on Options.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2011-08-18T22:46:22+00:00

    Thanks for your reply Suzanne.  Unfortunately, I don't think it works this way anymore.  I'm using Word 2010.  I can mark entries just fine.  But they are not recognized by the TOC.

    In Word 2010, the Table of Contents is no longer connected with Insert.  I found it under the References tab on the left.  It has 3 option buttons:  "Table of Contents" which allows me to insert the TOC, "Add Text", and "Update Table".  I don't see any way to get to any options.  I suppose I could insert it manually using field codes, but that seems cumbersome. 

    Thanks,

    Mike

    Was this answer helpful?

    0 comments No comments