
Tips.Net > WordTips Home > Special Tables > Table of Contents > Generating a TOC that Includes Text Boxes
Summary: If you place a lot of text inside text boxes, you may be surprised to find out that you cannot include any of that text in the table of contents for your document. This tip explains why this is the case and presents a possible solution to the problem. (This tip works with Microsoft Word 97, Word 2000, Word 2002, Word 2003, and Word 2007.)
Some people love to use text boxes to help place text on their pages. In essence, the text boxes become elements of a larger page layout, used in order to get "just the right look." Unfortunately, using text boxes means making trade-offs in other areas. One of those areas is in relation to a table of contents.
A table of contents can be generated in two ways--using styles or using fields. (Details on this are covered in other issues of WordTips.) If you generate your TOC using styles, and you have a heading style defined in a text box, Word still won't include it in the TOC. This is because text boxes are really graphics, and they are contained on a "graphics layer" or "drawing layer" in Word. Thus, text in a text box is a portion of the drawing layer and separate from the main text of your document.
If you generate your TOC using fields, then you rely on the placement of the TC field to designate a table of contents entry. Unfortunately, all the documentation available from Microsoft indicates that you cannot include certain fields in a text box--including TC fields.
If you must include the contents of your text boxes in a TOC, the only solution is to not use text boxes--you need to convert them to frames. You can get a good idea of the difference between text boxes and frames by searching Word's online help system for an article entitled "The difference between a text box and a frame" (this article may not be available in all versions of Word's help system) or you can do some searching and comparing at the WordTips Web site. In order to convert an existing text box to a frame, you follow these steps:
Tip #1770 applies to Microsoft Word versions: 97 2000 2002 2003 2007
Take Control! Master the real power behind Word! Successfully master the secrets of powerful formatting and create documents that stand out from the rest. Best of all, you can create documents that are easy to maintain and quick to change.
Check out WordTips: Sytles and Templates today!
Uncover how you can master the full potential of printing your documents. Everything you wanted to know about printing and printers, using Word. (more information...)
Ask a Word Question
Make a Comment
Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips