"Error! No table of contents entries found" when you build a table of contents

Article translations Article translations
Article ID: 302865 - View products that this article applies to.
This article was previously published under Q302865
Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows registry
Expand all | Collapse all

On This Page

SYMPTOMS

When you try to build a table of contents from custom styles in Microsoft Word 2000 by using the \t switch, you may receive the following error message:
Error! No table of contents entries found.
For example, you may receive this error message when you use the following:
{TOC \h \z \t "Heading 1,1,Heading 3, 3" \n}

CAUSE

This problem occurs when the separator between the styles that are specified for the \t field option in the Table of Contents field is different from the list separator in your computer's regional settings.

RESOLUTION

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To resolve this problem, obtain the latest service pack for Microsoft Office 2000. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
276367 How to obtain the latest Office 2000 service pack

After you install the update, add the following key to your registry to activate the change:
HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Options\UseAlternateTOCDelimiter (DWORD) 1
To do this procedure:
  1. Quit all Microsoft Windows programs before you edit the Windows registry.
  2. Click Start, and then click Run.
  3. In the Open box, type regedit, and then click OK.
  4. In Registry Editor, open the following registry key:
    MyComputer\HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Options
  5. With the Options key selected, on the Edit menu, point to New, and then click DWORD Value.
  6. Type UseAlternateTOCDelimiter, and then press ENTER.
  7. Select UseAlternateTOCDelimiter, and then on the Edit menu, click Modify at the same time.
  8. In the Value data box, type 1, and then click OK.
  9. On the Registry menu, click Exit. Registry Editor automatically saves your changes.

WORKAROUND

To work around this problem, use either of the following methods.

Method 1: Edit the Field to Use the Correct List Separator

  1. Press ALT+F9 to display the field codes. The Table of Contents is represented by a field similar to the following:
    {TOC \h \z \t "Heading 1,1,Heading 3, 3" \n}
    In this field, the comma is used as the list separator. This is the default setting in the United States, but many other countries use the semicolon as the list separator.
  2. Click Start, point to Settings, and then click Control Panel. Double-click Regional Options. On the Numbers tab, you can see which character is currently used as the list separator.
  3. In the field code, replace the commas with the correct list separator. For the earlier example, the field looks similar the following:
    {TOC \h \z \t "Heading 1;1;Heading 3; 3" \n}
  4. Press F9 to update the field.
  5. Press ALT+F9 to switch from the display of field codes to field results.

Method 2: Change the List Separator in Regional Options

  1. Press ALT+F9 to display field codes. The Table of Contents is represented by a field similar to the following:
    {TOC \h \z \t "Heading 1,1,Heading 3, 3" \n}
    In this field, the comma is used as the list separator. This is the default setting in the United States, but many other countries use the semicolon as the list separator.
  2. Click Start, point to Settings, and then click Control Panel. Double-click Regional Options. On the Numbers tab, you can see which character is currently used as the list separator.
  3. Change the list separator to the character that is used in the field, and then click OK.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

This problem was first corrected in the Word 2000 Update: April 25, 2002.

MORE INFORMATION

The AlternateTOCDelimiter registry key causes Microsoft Word to interpret the table of contents delimiter based on the language formatting of the surrounding text instead of from Control Panel. Some Word users who share documents in multiple locales may prefer to use this setting. For example, a table of contents that is included in a document with German language format uses a semicolon as a delimiter on an English operating system instead of a comma. All users of this German language document can update the contents of the table of contents regardless of their computer's operating system language as long as they have the UseAlternateTOCDelimiter registry key set.

Note that the Insert Table of Contents functionality still uses the delimiter as it is set in Control Panel when the table of contents is originally created. The creator of the table of contents must manually set the delimiter to the appropriate delimiter for the language of the document before sharing it with other users.

Properties

Article ID: 302865 - Last Review: September 26, 2005 - Revision: 2.4
APPLIES TO
  • Microsoft Word 2000 Standard Edition
Keywords: 
kbhotfixserver kbqfe kbhotfixserver kbqfe kboffice2000sp3fix kbbug kbfix KB302865

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com