XL: Custom Function Returns Incorrect Value/Appears to HangLast reviewed: February 3, 1998Article ID: Q125723 |
The information in this article applies to:
SYMPTOMSIn Microsoft Excel, when you use a custom function, the function may return an incorrectly calculated value, or, during recalculation, the function may appear to hang your computer (to return control to your Microsoft Excel, press the ESC key).
CAUSEThis problem occurs under the following conditions:
WORKAROUNDTo ensure that Microsoft Excel calculates the custom function properly, add the expected data types for all arguments when you declare the function. For the example, change the function
Function Test (arg)to:
Function Test (arg As Integer) STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional query words: 5.00 5.00a 5.00c 7.00 7.00a XL98 XL97 XL7 XL5
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |