WD97: Table of Contents Doesn't Display Paragraph Numbering

Last reviewed: February 13, 1998
Article ID: Q163658
The information in this article applies to:
  • Microsoft Word 97 for Windows

SYMPTOMS

If you have outline numbering applied to headings in your document, and if you generate a table of contents from these headings, the text of the heading will appear in the table of contents but the outline number will not.

CAUSE

This problem occurs if a floating object is anchored to that heading.

WORKAROUND

Use one of the following methods to workaround the problem.

Method 1: Move the Object Anchor to Another Paragraph

Move the object anchor to another paragraph by following these steps:

  1. If they are not, click the Show/Hide button on the Standard toolbar to display paragraph marks.

  2. Click the object.

    An anchor will appear in the document, usually somewhere near the object. The anchor will be near one of the paragraphs in the document that is incorrectly displayed in the table of contents.

  3. If the anchor is locked, you will need to unlock it before you can move it by doing the following:

    a. On the Format menu, click Picture and click the Position tab.

    b. Clear the check box Lock Anchor and then click OK.

  4. Move the mouse over the anchor.

  5. Drag the anchor to a paragraph that is not a heading of the table of contents.

  6. To relock the anchor, do the following:

    a. On the Format menu, click Picture and click the Position tab.

    b. Select the check box Lock Anchor and then click OK.

  7. To update the table of contents, click it, press F9, select Update Entire Table, and then click OK.

The table of contents will now work correctly.

Method 2: Convert the Floating Object to a Framed Object

If the object is a text box, use the following steps:

  1. Click to select the Text Box and on the Format menu, click Text Box.

  2. Click the Text Box tab.

  3. Click the Convert To Frame button.

  4. Click OK when the following message appears:

    When you convert this drawing object to a frame, some of the drawing object's formatting may be lost. Do you want to continue?

If the object is something other than a text box or autoshape:

  1. Click to select the object and on the Format menu, click Format Object or Picture.

  2. Click the Position tab.

  3. Clear the Float Over Text check box and click OK.

The object is now in the text layer as an inline object. To make text flow around the object, you must insert a frame around the object by doing the following:

  1. Make sure the object is still selected.

  2. On the Tools menu, point to Macro, and then click Macros.

  3. Under Macros In, select Word commands.

  4. Type "InsertFrame" (without the quotation marks) for the macro name, and click Run.

    The object will now be in a frame and can be moved around the document in the same way a floating object can.

  5. To update the table of contents, click it, press F9, select Update Entire Table, and then click OK.

The table of contents will now work correctly.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Word 97 for Windows. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


KBCategory: kbbug
KBSubcategory: kbfield
Additional query words: 97 missing gone chapter section legal
Keywords : kbfield kbualink97 kbbug
Version : 97
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 13, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.