XL97: #REF! Error Recalculating Worksheet with Defined Name
ID: Q222844
|
The information in this article applies to:
-
Microsoft Excel 97 for Windows
SYMPTOMS
When your worksheet is recalculated, some cells may display the #REF! error code.
CAUSE
This problem may occur if the following conditions are true:
- The cells that contain the #REF! error code refer to a defined name.
-and-
- The defined name refers to an external file.
-and-
- The defined name contains a relative cell reference to a cell in the external file.
WORKAROUND
To work around the problem, type the reference to the external file in the cell, rather than using a defined name to refer to the external file.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed
at the beginning of this article.
MORE INFORMATION
Example of the Problem
The following steps illustrate the problem:
- Create a new workbook that contains at least two worksheets.
- Type the value 1 in cell A1 of Sheet1.
- Type the value 2 in cell A1 of Sheet2.
- On the File menu, click Save As. Type Source.xls in the File name box, and then click Save.
- Create a new workbook that contains at least two worksheets.
- Point to Name on the Insert menu and then click Define.
- Type One in the Names in workbook box. Type =[source.xls]sheet1!a1 in the Refers to box, and then click Add.
- Type Two in the Names in workbook box. Type =[source.xls]sheet2!a1 in the Refers to box, and then click Add.
- Click Close to dismiss the Define Name dialog box.
- Type the following formula in cell A1 of Sheet1:
=one
- Type the following formula in cell A1 of Sheet2:
=two
- On the File menu, click Save As. Type Client.xls in the File name box, and then click Save.
- Close Client.xls and Source.xls.
- Open Client.xls. Click Yes when you are asked to update links.
Cell A1 on Sheet2 displays the #REF! error code.
Additional query words:
XL97 recalc link
Keywords : kbdta xlformula
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbbug