Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

XL2000: Memory Leak When Excel Calculates User-Defined Functions


View products that this article applies to.

Symptoms

Microsoft Excel may leak memory when a custom function, also known as a user-defined function (UDF), is calculated.

↑ Back to the top


Cause

This problem occurs if the arguments for the UDF are located on a different sheet than the one that contains the UDF.

If the UDF calculation starts when a cell on which the UDF depends is not yet calculated, Excel cancels the UDF calculation and postpones it. However, Excel does not free the memory that was already reserved for the calculation's return value.

↑ Back to the top


Resolution

To resolve this problem, obtain the latest service pack for Microsoft Office 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
276367 OFF2000: How to Obtain the Latest Office 2000 Service Pack

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft Office 2000 Service Pack 2.

↑ Back to the top


Keywords: KB265023, kbqfe, kboffice2000sp2fix, kboffice2000presp2fix, kbfix, kbbug, kbqfe, kbhotfixserver

↑ Back to the top

Article Info
Article ID : 265023
Revision : 5
Created on : 9/23/2005
Published on : 9/23/2005
Exists online : False
Views : 250