XL97: Some Values Not Recalculated When Using Multiple Formulas (171339)
The information in this article applies to:
- Microsoft Excel 97 for Windows
This article was previously published under Q171339 SYMPTOMS
In Microsoft Excel 97, formulas in a worksheet that refer to other cells
that also contain formulas may not be recalculated properly when the
referenced cells change. As a result, the worksheet may contain values that
are not updated.
CAUSE
This problem may occur when all of the following conditions are
true:
- You are working with a worksheet in which a range of 18 or more cells
are in the same row.
-and-
- Each of these cells contains a formula that refers to the cell
directly to the left.
For example, cell B33 refers to cell A33, cell C33 refers to cell B33,
cell D33 refers to cell C33, and so on.
-and-
- The range of cells is in a row with a row number that is a multiple of
16 plus 1.
For example, row 17 is divisible by 16 with a remainder of 1, as are
rows 33, 49, 65, and so on.
-and-
- A formula in a different cell refers to one of the cells in the range.
-and-
- A formula in any cell refers to any cell above the range of 18 or more
cells.
For an example of this problem, see the "More Information" section in this
article.
RESOLUTION
To correct this problem, obtain Microsoft Excel 97 Service Release 2
(SR-2).
For additional information about SR-2, please see the following article
in the Microsoft Knowledge Base:
151261
OFF97: How to Obtain and Install MS Office 97 SR-2
If you are unable to obtain SR-2, you can use either of the
following methods to recalculate the entire workbook.
- Press CTRL+ALT+F9. When you use this key combination, Microsoft Excel
completely recalculates all cells in all open workbooks.
- Create and run a Microsoft Visual Basic for Applications Sub procedure
to recalculate all cells in all open workbooks.
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
The following sample procedure will recalculate all values in the workbook
each time it is opened. Note that this procedure recalculates the workbook
only once each time it is opened.
Private Sub Workbook_Open()
Application.SendKeys "^%{F9}"
End Sub
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 97 performs very slowly.
For example, do not use the following procedures:
Private Sub Worksheet_Activate()
Application.SendKeys "^%{F9}"
End Sub
Private Sub Worksheet_Calculate()
Application.SendKeys "^%{F9}"
End Sub
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
This problem was corrected in Microsoft Office 97 Service Release 2 (SR-2).
Modification Type: | Major | Last Reviewed: | 6/18/2005 |
---|
Keywords: | kbbug kbcode kbdtacode kbfix kbProgramming KB171339 |
---|
|