How to Work Around Word TC Field Code Limits for Multiple Tables of Contents
Question details
The user needs to create multiple tables of contents for different chapters but is hitting character and entry limitations with Word TC field codes.

- Product
- Word Processing Software
- Device & OS
- not provided
- Scenario
- Creating separate tables of contents for multiple chapters or sections within a single large document.
- Observed behavior
- TC field codes hit practical character and entry limits, making it difficult to generate multiple independent tables of contents for long documents.
Ensure your document's heading styles are correctly applied to all chapter titles and sections before setting up bookmarks for your tables of contents.
Use Bookmarks to Create Range-Specific Tables of Contents
Instead of relying on numerous TC field codes, you can define specific document ranges using bookmarks and generate a Table of Contents (TOC) exclusively for each bookmarked section.
This method avoids the character limitations of TC field codes by restricting the TOC generation to a specific portion of the document marked by a bookmark.
Highlight the entire chapter or document range that you want to include in a specific table of contents.
Go to the 'Insert' tab, click on 'Bookmark', assign a unique name without spaces (e.g., 'Chapter1'), and click 'Add'.
Place your cursor where you want the TOC to appear. Go to the 'References' tab and select 'Table of Contents', then choose 'Custom Table of Contents' to insert a standard TOC.
Press Alt + F9 to reveal the document's field codes. Locate the newly inserted TOC code (it will look similar to { TOC \o "1-3" \h \z \u }) and add the bookmark switch \b followed by your exact bookmark name. It should look like this: { TOC \b Chapter1 \o "1-3" \h \z \u }.
Press Alt + F9 again to hide the codes. Right-click the newly edited TOC and select 'Update Field' to generate the chapter-specific table of contents based on your bookmark.

Create Multiple Tables of Contents Easily with WPS Writer
WPS Writer offers a user-friendly interface for managing complex documents, inserting bookmarks, and generating custom tables of contents without struggling with complex field code limitations.
- 1. Highlight your content: Open your document in WPS Writer and highlight the specific chapter content.
- 2. Add a bookmark: Navigate to the 'Insert' tab, click 'Bookmark', and give your section a unique name.
- 3. Insert and modify the TOC: Go to the 'References' tab, insert a Table of Contents, press Alt + F9 to show field codes, and include the \b [BookmarkName] switch to restrict the TOC to that section.

Frequently Asked Questions
What is a TC field in a document?
A TC (Table of Contents Entry) field is a hidden text code used to manually include specific text into a Table of Contents. However, using too many of them can cause document lag or hit practical character limits.
Can I have a main Table of Contents and chapter-specific ones in the same document?
Yes. You can insert a standard Table of Contents for the entire document at the beginning, and use the bookmark switch (\b) method to insert separate, smaller tables of contents at the start of each individual chapter.
Why is my table of contents showing 'No table of contents entries found'?
This typically happens if the text within your specified bookmark range does not have the correct Heading styles applied, or if the bookmark name typed in the TOC field code is misspelled.
How do I view hidden field codes in my document?
You can toggle the visibility of field codes by pressing Alt + F9 on your keyboard. This allows you to manually edit the TOC switches and see how your tables are structured.




