XL97: VBE: User-Defined Functions Are Calculated Incorrectly

ID: Q170650

The information in this article applies to:

SYMPTOMS

When you use the Function Wizard to enter a formula containing a user- defined function in a cell, the formula may be calculated more than once.

CAUSE

A user-defined function is calculated multiple times in Microsoft Excel 97 for Windows if the following conditions are true:

Note that this behavior does not occur if the user-defined function is entered directly in a cell in a worksheet.

WORKAROUND

To work around this problem, do not use the Function Wizard to insert the custom function.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

REFERENCES

For more information about entering formulas, click the Index tab in Microsoft Excel Help, type the following text

   entering formulas, typing a formula

and then double-click the selected text to go to the "How formulas calculate values" topic.

Keywords          : kbprg
Version           : WINDOWS:97
Platform          : WINDOWS
Issue type        : kbprb

Last Reviewed: October 31, 1998