Knowledge Base

WD98: Error Updating Table of Contents with Heading Styles

Article ID: 184520

Article Last Modified on 10/29/2004


APPLIES TO


This article was previously published under Q184520

SYMPTOMS

When you update in Microsoft Word 6.x or later a table of contents created in a Microsoft Word for the Macintosh 5.1 document, the following error message may appear:
Error! No table of contents entries found.

CAUSE

This occurs when the table of contents in the Word 5.1 document was created using heading styles and then the first entry is changed to a style other than a heading style in the body of the document. When the document is converted the TOC field is incorrectly converted.

WORKAROUND

To work around this behavior, use one of the following methods:

Method 1: Re-apply Heading Styles in the Word 5.1 Document

Open the document in Word 5.1 and re-apply the missing heading styles.

Method 2: Remove the \f Parameter from the TOC Field

  1. Select the table of contents.
  2. Press SHIFT+F9 (Windows) or OPTION+F9 (Macintosh) to show field codes.
  3. Remove the \f parameter.
  4. Press SHIFT+F9 (Windows) or OPTION+F9 (Macintosh) to turn off field codes.
  5. Press F9 to update the table of contents.

Method 3: Replace the Table of Contents

  1. Select the existing table of contents.
  2. Press DELETE to remove the existing table of contents.
  3. On the Insert menu, click Index And Tables, and then click the Table Of Contents tab.
  4. Click OK.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

Additional query words: TC

Keywords: kbbug kbfix kbfield KB184520