Microsoft KB Archive/932842

= A nested conditional field that contains a DocProperty field or a DocVariable field may not be updated as expected in a header or in a footer in Word 2003 =

Article ID: 932842

Article Last Modified on 9/11/2007

-

APPLIES TO


 * Microsoft Office Word 2003

-



Important This article contains information about how to modify the registry. Make sure that you 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
Consider the following scenario:
 * You use a Microsoft Visual Basic for Applications (VBA) macro to update the fields in a Microsoft Office Word 2003 document.
 * The Word document contains a nested conditional field in the header or in the footer that contains a DocProperty field or a DocVariable field.
 * The Word document is longer than one page.

In this scenario, the nested conditional field may not be updated as expected.



How to obtain the hotfix
This issue is fixed in the Word 2003 post-Service Pack 2 Hotfix Package that is dated February 12, 2007. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

932843 Description of the Word 2003 post-Service Pack 2 hotfix package: February 12, 2007

How to enable the hotfix
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 the 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:  Exit Word 2003. Click Start, click Run, type regedit in the Open box, and then click OK. Locate and then click the following registry subkey:

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

 After you select the subkey that is specified in step 3, point to New on the Edit menu, and then click DWORD Value. Type UpdateHeaderFooter, and then press ENTER. Right-click UpdateHeaderFooter, and then click Modify. In the Value data box, type 1, and then click OK.</li> On the File menu, click Exit to exit 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.

Additional query words: word2003 word2k3 word11 wd2003 wd2k3 wd11

Keywords: kbbug kbfix kbmacro kbqfe kbprogramming kbautomation kbfield kbvba kbpubtypekc kbheaders kbfooters kbexpertiseinter kbhotfixserver kboffice2003presp3fix KB932842

-

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

© Microsoft Corporation. All rights reserved.