Microsoft KB Archive/871270

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

Article ID: 871270

Article Last Modified on 4/7/2006

-

APPLIES TO


 * Microsoft Word 2000 Standard Edition

-





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.



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 &quot;More Information&quot; 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 &quot;Applies to&quot; 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:  Quit Word 2000. Click Start, click Run, type regedit in the Open box, and then click OK. Locate and then click to select the following registry subkey:

 

 On the Edit menu, point to New, and then click DWORD Value. Type EnsureReleasePUnknown, and then press ENTER.</li> Right-click EnsureReleasePUnknown, 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>

Keywords: kbbug kbfix kboffice2000presp4fix kbqfe kbprogramming kbautomation kbhotfixserver KB871270

-

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

© Microsoft Corporation. All rights reserved.