OFF97: Workbook Changed by MS Access May Not Be Recalculated

ID: Q172640


The information in this article applies to:


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:


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 xlloadsave xlui offinterop 
Version           : WINDOWS:97
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: June 11, 1999