Memory usage increases every time that you run a VBA macro that references ProofreadingError objects from a document range in Word 2000 (871270)



The information in this article applies to:

  • Microsoft Word 2000

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

When you programmatically loop through references to the ProofreadingError objects from a document range in Microsoft Word 2000, memory usage increases every time that you run the Microsoft Visual Basic for Applications (VBA) macro.

RESOLUTION

How to obtain the hotfix

This issue is fixed in the Word 2000 post-Service Pack 3 Hotfix Package that is dated August 19, 2004. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

873359 Description of the Word 2000 post-Service Pack 3 hotfix package: August 19, 2004



After you install this hotfix, follow the steps that are listed in the "More Information" section of this article to set the EnsureReleasePUnknown registry key and to activate 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 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 activate this hotfix, follow these steps:
  1. Quit Word 2000.
  2. Click Start, click Run, type regedit in the Open box, and then click OK.
  3. Locate and then click to select the following registry subkey:

    HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Options

  4. On the Edit menu, point to New, and then click DWORD Value.
  5. Type EnsureReleasePUnknown, and then press ENTER.
  6. Right-click EnsureReleasePUnknown, 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:MajorLast Reviewed:4/7/2006
Keywords:kbQFE KBHotfixServer kbProgramming kbAutomation kbOffice2000preSP4fix kbbug kbfix KB871270 kbAudITPRO kbAudEndUser