Written by Allen Wyatt (last updated November 19, 2021)
This tip applies to Word 2007, 2010, 2013, and 2016
The normal way to create a table of contents (TOC) is to let Word automatically create one based upon the headings in a document. Each paragraph formatted with the Heading 1 style, Heading 2 style, and Heading 3 style are automatically pulled into the TOC.
There may be times when you want to create a TOC that includes paragraph styles other than the heading styles. For instance, you might have a paragraph style you've created for a specific purpose, such as for denoting all the product names in a document. You don't want to format these product names as headings; you instead want to format them with a special paragraph format that calls them out in some manner specific to your needs. (Let's say that you use the style named SpecialProduct for this purpose.) If you then, later, want to include those product names in a special TOC, you can follow these steps:
Figure 1. The Table of Contents tab of the Table of Contents dialog box.
Figure 2. The Table of Contents Options dialog box.
The result of creating this TOC in this way is that you have a list of all your products, and they are formatted in the list using the TOC 4 style. You can modify the TOC 4 style to reflect how you want the products to appear in the TOC.
You'll note that these steps used TOC level 4 (the TOC 4 style) for the products. The reason for this is simple—it allows you to leave TOC levels 1 through 3 (the TOC 1, TOC 2, and TOC 3 styles) for use in the regular TOC for the document. That way you can use different formatting for the regular TOC and the special product list TOC.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (7123) applies to Microsoft Word 2007, 2010, 2013, and 2016. You can find a version of this tip for the older menu interface of Word here: Creating a TOC that Includes Specific Styles.
Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!
Word allows you to easily add a table of contents to your documents. If you find that some of your document headings ...
Discover MoreWord includes a couple of built-in tools that rely upon the use of heading styles in your document. These tools include ...
Discover MoreWord, when creating a table of contents, should automatically make sure that the page numbers it shows correspond to the ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
2024-07-11 16:10:16
Ken Blair
@Krupesh,
You would need to create the SpecialProduct style using the NEW Style process in the Style dialog. This would then make the SpecialProduct style available for you in the ToC dialog. Just make sure you base the SpecialProduct style on the heading style you want it to mimic.
2024-07-09 06:59:11
Paul Stregevsky
Krupesh,
No one has a style named SpecialProduct; it was a hypothetical example.
2024-07-08 03:55:16
Krupesh Kothari
Hello Sir,
I do not have SpecialProduct style option under available styles to assign TOC Level 4.
FYI - I am using MSO Version 2406.
KK
2023-03-21 06:13:52
Alex Camprubi
Thank you for this post!
2019-05-29 19:20:06
Mike Webster
Good tip. Thank you.
2019-02-08 15:12:41
Gabriel
For some reason, after I close the TOC Option dialog box after deselecting styles I don't want in my TOC, Word still adds them. When I reopen the TOC Options dialog box they have a Level number again. I don't know what's going on
Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments