ACC: "Incomplete calculation" Error Opening Linked MS Excel File
ID: Q179588
|
The information in this article applies to:
-
Microsoft Access versions 7.0, 97
SYMPTOMS
Novice: Requires knowledge of the user interface on single-user computers.
When you open a Microsoft Excel spreadsheet file that contains links to
another Microsoft Excel spreadsheet file, you receive one of the following
messages:
This document contains links. Re-establish links?
The workbook you opened contains automatic links to information in
another workbook. Do you want to update this workbook with changes
made to the other workbook?
If you click Yes, you receive the following error:
'<filename.xls>' contains incomplete calculation.
CAUSE
The spreadsheet file that you are opening contains links to a second
spreadsheet file, and the second spreadsheet file is the source of a linked
table in a Microsoft Access database. You receive the error after you have
updated the data in the Microsoft Access table that is linked to the second
spreadsheet file.
In Microsoft Access version 7.0, this error occurs when you export to the
Microsoft Excel 5-7 (*.xls) file format or to the Microsoft Excel 4 (*.xls)
file format. In Microsoft Access 97, you do not receive this error unless
you export the table to the Microsoft Excel 4.0 file format.
WORKAROUND
To prevent this error from occurring, follow these steps:
- Start Microsoft Excel, and open the spreadsheet file that is the
source of the links in the file that you are trying to open.
- Press F9, or click Options on the Tools menu, and then click Calc Now on
the Calculation tab.
- Save and close the file.
- Open the spreadsheet file containing the links to the file that you
saved in step 3. Note that you do not receive an error message if you
click Yes when prompted to update or re-establish the links.
If your spreadsheet generates the error described in the "Symptoms" section
when you open it, you must follow these steps every time that you use
Microsoft Access to update the other spreadsheet that is the source of its
links.
STATUS
Microsoft has confirmed this to be a problem in the versions of Microsoft
Access listed at the beginning of this article.
MORE INFORMATION
Steps to Reproduce Problem
Create a Microsoft Excel 4.0 Spreadsheet
- Start Microsoft Access and open the sample database Northwind.mdb.
- In the Database window, select the Customers table.
- On the File menu, click Save As/Export.
- In the Save As dialog box, click To An External File Or Database, and
then click OK.
- In the Save Table 'Customers' In dialog box, click Microsoft Excel 4
(*.xls) in the Save As Type box.
- Type Cust4.xls in the File Name box and
then click Export.
Create a Spreadsheet Linked to Another Spreadsheet
- Start Microsoft Excel and open the file Cust4.xls that you created in
step 6 of the "Create a Microsoft Excel 4.0 Spreadsheet" section.
- Press CTRL+HOME; then press CTRL+SHIFT+END to select the data in the
spreadsheet.
- On the Edit menu, click Copy.
- On the File menu, click New. In the New dialog box, click the General
tab, and then click the Workbook icon. Click OK to open a new workbook.
- On the Edit menu, click Paste Special.
- In the Paste Special dialog box, click Paste Link.
- On the File menu, click Save.
- In the Save As dialog box, click Microsoft Excel 4.0 Worksheet (*.xls)
in the Save As Type box.
- Type Cust4a.xls in the File Name box,
and then click Save. When you receive a message that the selected file
type does not support workbooks containing multiple sheets, click OK to
save only the active sheet.
- Close both Cust4.xls and Cust4a.xls.
Create a Microsoft Access Table Linked to a Spreadsheet
- Close both Cust4.xls and Cust4a.xls and return to Microsoft Access.
Open the sample database Northwind.mdb if it is not already open.
- On the File menu, point to Get External Data, and then click Link
Tables.
- In the Link dialog box, locate the file Cust4.xls that you created in
in step 6 of the "Create a Microsoft Excel 4.0 Spreadsheet" section;
select it, and then click Link.
- When the Link Spreadsheet Wizard appears, click Next.
- Click to select the First Row Contains Column Names check box, and then
click Next.
- Type Cust4 in the Linked Table Name box,
and then click Finish.
- When you receive the message that the Linked Spreadsheet Wizard has
finished linking table Cust4, click OK.
- Open the table Cust4. Make a change to the data in the ContactName
field of the first record, and then close the table.
Reopen the Linked Spreadsheet in Microsoft Excel
- Return to Microsoft Excel and open the file Cust4a.xls that you
created in step 9 of the "Create a Spreadsheet Linked to Another
Spreadsheet" section.
- When you are prompted to re-establish links or to update this workbook
with changes made to the other workbook, click Yes. Note that you
receive the error described in the "Symptoms" section.
REFERENCES
For more information about linking to Microsoft Excel spreadsheet files,
search the Help Index for "Microsoft Excel, importing and linking Excel
data" and display the topic "import or link data from a spreadsheet."
Additional query words:
recalculation recalc
Keywords : IsmExl4 IsmExl5
Version : WINDOWS:7.0,97
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: April 23, 1999