Microsoft KB Archive/873356

= Only the first occurrence of the NUMPAGES field is updated when you try to update the fields in the body of your Word 2003 document =

Article ID: 873356

Article Last Modified on 4/7/2006

-

APPLIES TO


 * Microsoft Office Word 2003

-





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
When you try to update the fields in the body of your Microsoft Office Word 2003 document, only the first occurrence of the NUMPAGES field is updated. If you try to update the fields in the document body again, only the second occurrence of the NUMPAGES field is updated. To update all the NUMPAGES fields that are contained in the body of your document, press F9 for each NUMPAGES field that appears in the body of your document.

To update the fields in the body of your document, press CTRL+A, and then press F9.

Note This problem may also occur if you click Print Preview on the File menu, and then close Print Preview.



RESOLUTION
This problem was first fixed in a hotfix that is now contained in a service pack. If you installed the latest Microsoft 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

After you install the service pack, follow the steps that are listed in the &quot;Resolution&quot; section of the article to set the UpdateAllNumpages registry value and to enable the hotfix.

How to obtain the hotfix
This issue is fixed in the Word 2003 Hotfix Package that is dated August 20, 2004. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

838899 Description of the Word 2003 post-Service Pack 1 hotfix package: August 20, 2004

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.

Important If you activate this hotfix, you may experience a different problem with the NUMPAGES field in the header or in the footer of your document. For more information, see the &quot;More Information&quot; section.

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 key:

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Options

 After you select the key that is specified in step 3, point to New on the Edit menu, and then click DWORD Value. Type UpdateAllNumpages, and then press ENTER. Right-click UpdateAllNumpages, 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>

<div class="status_section">

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 Microsoft Office 2003 Service Pack 2.

Keywords: kbbug kbfix kbqfe kbupdateissue kboffice2003sp2fix kbhotfixserver KB873356

-

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

© Microsoft Corporation. All rights reserved.