The information in this article applies to:
SYMPTOMSWhen you use certain functions, you may receive a different value depending on the version of Microsoft Excel that you are using. CAUSEThis behavior occurs when the following conditions are true:
-and- MORE INFORMATION
The method used to calculate these functions when the basis parameter is set to 2 was changed after Microsoft Excel for Windows 95, version 7.0 to produce more accurate values than in earlier versions of Microsoft Excel. Basis is the type of day count basis used by the function and is defined in the following table:
Because these functions were improved, they return different values than in Microsoft Excel 7.0 and earlier. Additionaly, if a workbook that was created in Microsoft Excel 5.0 or 7.0 is opened in Microsoft Excel 2000, the results from Microsoft Excel 5.0 or 7.0 may still be displayed. Even if the workbook is saved in Microsoft Excel 2000, closed and then reopened in Microsoft Excel 2000, the original values may still persist. Also, a recalculation on the workbook by pressing F9 may not resolve the issue. Microsoft Excel will not recalculate to show the correct value until either the formula is edited, the source cells change, or the entire workbook is recalculated. To fully recalculate all formulas use one of the following methods:
http://www.microsoft.com/support/supportnet/overview/overview.asp The following sample procedure will recalculate all values in the Excel 2000 workbook each time it is opened. Note that this procedure recalculates the workbook only once each time it is opened. NOTE: Do not attempt to use a Worksheet_Activate or a Worksheet_Calculate procedure to recalculate the values. If you do this, a recursive process begins, and Microsoft Excel performs very slowly.
For example, do not use the following procedures:
-or-
The following steps demonstrate the issue with the YIELD function.
REFERENCESFor more information about using the sample code in this article, click the article number below to view the article in the Microsoft Knowledge Base: Q212536 OFF2000: How to Run Sample Code from Knowledge Base ArticlesFor additional information about Excel recalculation, please see the following article(s) in the Microsoft Knowledge Base: Q221048 XL2000: Custom Function May Not Calculate Expected Value Additional query words: XL2000 calc recalc calculation recalculation migration
Keywords : |
Last Reviewed: November 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |