Microsoft KB Archive/172640

= OFF97: Workbook Changed by MS Access May Not Be Recalculated =

Article ID: 172640

Article Last Modified on 1/20/2007

-

APPLIES TO


 * Microsoft Office 97 Standard Edition
 * Microsoft Excel 97 Standard Edition
 * Microsoft Access 97 Standard Edition

-



This article was previously published under Q172640



SYMPTOMS
When you open a workbook in Microsoft Excel 97, some formulas in the workbook may not be recalculated properly. For example, if cell B5 in Sheet2 contains the following formula

=Sheet1!A1

the formula may return a value that was previously in Sheet1!A1 instead of the value that is currently in Sheet1!A1.



CAUSE
This problem occur if all of the following conditions are true:


 * In Microsoft Access 97, you create a link table that links to a worksheet in a Microsoft Excel workbook.

-and-
 * By using Microsoft Access 97, you change a value (or values) in the link table.

-and-
 * You open the workbook in Microsoft Excel 97.

-and-
 * One or more formulas in the workbook refer to the changed values.



WORKAROUND
To work around this problem, follow these steps:


 * 1) In Microsoft Excel 97, open the workbook.
 * 2) Press CTRL+ALT+F9.

The values in the workbook are recalculated. If you make additional changes to the workbook in Microsoft Excel 97, Microsoft Excel continues to recalculate the values properly. If you use Microsoft Access 97 to make additional changes to the workbook, you must use the workaround when you reopen the workbook in Microsoft Excel 97.



STATUS
Microsoft has confirmed this to be a problem in Microsoft Access 97. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.



MORE INFORMATION
In Microsoft Excel 97, when a workbook must be recalculated, a record named "RTUNCALCED" is written in the workbook. Microsoft Excel clears this record when the workbook is recalculated; if the record is not present, Microsoft Excel 97 does not recalculate the values in workbook.

When you make a change to a link table in Microsoft Access 97, the change is written to the table in the external file. However, if the external file is a Microsoft Excel workbook, Microsoft Access 97 does not write the RTUNCALCED record in the workbook. As a result, when you open the workbook in Microsoft Excel 97, the workbook is not automatically recalculated, and formulas in the workbook may return incorrect values.

Note that this problem does not occur when you change a link table in earlier versions of Microsoft Access.

Additional query words: OFF97 XL97 AC97

Keywords: kbinterop kbprb KB172640

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.