A page number in a table of contents may include an unexpected chapter number in Word 2002 (898605)



The information in this article applies to:

  • Microsoft Word 2002

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

SYMPTOMS

In a Microsoft Word 2002 document, a page number in the table of contents (TOC) may include an unexpected chapter number.

For example, the TOC may appear as follows:
1 Chapter heading text ................................. 1.1-1
 1.1 Paragraph text .................................... 1.1-1
  1.1.1 Paragraph text ................................. 1.1-1

2 Chapter heading text ................................. 1.1-1 <-- unexpected chapter number
 2.1 Paragraph text .................................... 2.1-1
  2.1.1 Paragraph text ................................. 2.1-1
After you install the hotfix that is described in the "Resolution" section, the example TOC may appear as follows:
1 Chapter heading text ................................. 1-1
 1.1 Paragraph text .................................... 1.1-1
  1.1.1 Paragraph text ................................. 1.1-1

2 Chapter heading text ................................. 2-1
 2.1 Paragraph text .................................... 2.1-1
  2.1.1 Paragraph text ................................. 2.1-1

CAUSE

This problem may occur if all the following conditions are true:
  • Paragraphs in the document are numbered by using outline numbering.
  • Page numbers in the document include the chapter number. Additionally, page numbers start with the Heading 2 style.
  • The heading style that is used for the paragraph that is referred to in the TOC is a heading style other than the Heading 1 style.

RESOLUTION

How to obtain the hotfix

This issue is fixed in the Word 2002 post-Service Pack 3 Hotfix Package that is dated May 2, 2005. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

898604 Description of the Microsoft Word 2002 post-Service Pack 3 hotfix package: May 2, 2005



After you install this hotfix, follow the steps in the "More Information" section to set the UseAlternatePageNumberFormat registry entry and to enable the hotfix.

STATUS

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

MORE INFORMATION

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 enable this hotfix, follow these steps:
  1. Quit Word 2002.
  2. Click Start, click Run, type regedit, and then click OK.
  3. Locate and then click to select the following registry subkey:

    HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Word\Options

  4. After you select the subkey that is specified in step 3, point to New on the Edit menu, and then click DWORD Value.
  5. Type UseAlternatePageNumberFormat, and then press ENTER.
  6. Right-click UseAlternatePageNumberFormat, and then click Modify.
  7. In the Value data box, type 1, and then click OK.
  8. On the File menu, click Exit to quit Registry Editor.

Modification Type:MinorLast Reviewed:4/7/2006
Keywords:kbOfficeXPpostSP3fix kbnumbering kbQFE kbbug kbfix KB898605 kbAudEndUser kbAudITPRO