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 you are using. CAUSEThis behavior occurs when the following conditions are true:
MORE INFORMATION
The method that you use 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 you create in Microsoft Excel 5.0 or 7.0 is opened in Microsoft Excel 97, the results from Microsoft Excel 5.0 or 7.0 may still be displayed. Even if you save the workbook in Microsoft Excel 97, close and then reopen it in Microsoft Excel 97, the original values may still be present. If you recalculate the workbook by pressing F9, the issue may not be resolved. Microsoft Excel will not recalculate to show the correct value until either you edit the formula, change the source cells, or recalculate the entire workbook. 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 97 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 additional information, please see the following article in the
Microsoft Knowledge Base: Q173707 OFF97: How to Run Sample Code from Knowledge Base ArticlesFor additional information about Excel recalculation, please see the following articles in the Microsoft Knowledge Base: Q223312 XL97: Custom Function May Not Calculate Expected Value Additional query words: XL5 XL7 XL97 XL2000 calc recalc calculation recalculation migration
Keywords : |
Last Reviewed: November 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |