Microsoft KB Archive/895124

= A page number in a table of contents may include an unexpected chapter number in Word 2003 =

Article ID: 895124

Article Last Modified on 4/7/2006

-

APPLIES TO


 * Microsoft Office Word 2003

-



Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit 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 table of contents (TOC) in a Microsoft Office Word 2003 document, a page number in the 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 &quot;Resolution&quot; 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 when 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
This problem was first fixed in a hotfix that is now contained in a service pack. If you installed the latest Office 2003 service pack, you do not have to install the hotfix.

Service pack information
This problem is corrected in Office 2003 Service Pack 2.

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

870924 How to obtain the latest service pack for Office 2003

How to obtain the hotfix
This issue is fixed in the Word 2003 post-Service Pack 1 Hotfix Package that is dated March 11, 2005. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

895481 Description of the Microsoft Office Word 2003 post-Service Pack 1 hotfix package: March 11, 2005

After you install this hotfix, follow the steps that are listed in the &quot;More Information&quot; 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 &quot;Applies to&quot; section.

This problem was first corrected in Office 2003 Service Pack 2.



MORE INFORMATION
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To enable this hotfix, follow these steps:  Quit Word 2003. Click Start, click Run, type regedit, and then click OK. Locate and then click to select the following registry subkey:

 

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

Additional query words: word2003 wd2003 wd2k3

Keywords: kbbug kbfix kbqfe kbnumbering kboffice2003sp1fix kboffice2003presp2fix kbhotfixserver KB895124

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.