Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

XL2000: File Name in Formula Doesn't Appear Correctly


View products that this article applies to.

This article was previously published under Q211507

↑ Back to the top


Symptoms

When you select a worksheet cell in Microsoft Excel, the formula in the formula bar may refer to an incorrect file name, even though the formula returns the correct result. For example, the formula bar may contain the formula
   ='C:\My Documents\[No.xls]Sheet1'!A1
				

but the cell returns the value from C:\My Documents\[Yes.xls]Sheet1!A1.

↑ Back to the top


Cause

This problem may occur if both of the following conditions are true:
  • At any time, when you edited the formula in the cell, you entered an invalid file name. As a result, the File Not Found dialog box appeared.

    -and-
  • In the File Not Found dialog box, you entered or selected a valid file name, and then clicked OK.

↑ Back to the top


Workaround

To correct this problem, use either of the following methods.

Method 1

Select the cell and manually edit the formula so that it refers to the correct file name, and then press ENTER.

Method 2

Change the link reference within the Links dialog box.
  1. On the Edit menu, click Links, and then click Change Source.
  2. In the Source File box, select the link to change, and then click Change Source.
  3. In the Change Links dialog box, select the file you want to reference in the link, and then click OK. Click Close.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top


More information

When you edit a formula in Microsoft Excel, if the formula refers to an invalid file name, the File Not Found dialog box appears. You can use this dialog box to select a valid file.

If you allow the File Not Found dialog box to insert the correct file name into your formula, the formula still displays the invalid file name when you view or edit the cell. If you want the formula to display the correct file name, you must manually edit the formula and change the file name.

↑ Back to the top


Keywords: KB211507, kbpending, kbualink97, kbbug

↑ Back to the top

Article Info
Article ID : 211507
Revision : 3
Created on : 10/6/2003
Published on : 10/6/2003
Exists online : False
Views : 237