Microsoft KB Archive/207574

= You receive a "File Not Found" error message in Excel when you open a file by double-clicking the file name =

Article ID: 207574

Article Last Modified on 1/23/2007

-

APPLIES TO


 * Microsoft Office Excel 2007
 * Microsoft Office Excel 2003
 * Microsoft Excel 2002 Standard Edition
 * Microsoft Excel 2000 Standard Edition

-



This article was previously published under Q207574



Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
When you double-click a Microsoft Excel file type (.xls), Excel starts as expected, but then you may receive an error message that is similar to the following:

C:\ .xls' could not be found. Check the spelling of the file name, and verify that the file location is correct. If you are trying to open the file from your list of most recently used files on the File menu, make sure that the file has not been renamed, moved, or deleted.

When you click OK on the error message, the message reappears. After you repeatedly click OK, the file opens.



CAUSE
This behavior can occur if the Open action entry for this file type ends in %1.

If the Open action of the file type is edited and the line is restored before you press OK, a %1 is added to the registry key.

If you intentionally add a %1 to the Open action entry for this file type, a %1 is added to the registry key. If you subsequently delete the %1 from the Open action entry, the registry key remains unchanged and must be manually edited.

Additionally, this issue can occur when you manually change the file association of .xls files, or in some circumstances, when you are running multiple versions of Excel on the same computer.



RESOLUTION
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To resolve this issue, follow these steps:  Click Start, and then click Run. In the Open box, type regedit, and then click OK. Open the following registry key:

HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\Open\command

 In the right pane, click (Default). On the Edit menu, click Modify. Remove the %1 from the end of the Value data string so that the data string reads as follows:

"C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\EXCEL.EXE" /e (including the quotation marks)

</li> Click OK, and then close Registry Editor.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
Note Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.

To change the Open action of a file type, follow these steps:
 * 1) Start the Microsoft Windows Explorer.
 * 2) On the Tools menu, click Folder Options.
 * 3) Click the File Types tab.
 * 4) Click the file type that you want (that is, Microsoft Excel Worksheet) in the Registered file types list.
 * 5) Click Advanced.
 * 6) Under Actions, click Open, and then click Edit.
 * 7) Make the changes that you want, and then click OK.

Additional query words: OFF2000 XL2000 xl2002 xl2003 XL2007

Keywords: kbinfo kbregistry kberrmsg kbopenfile kbprb KB207574

-

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

© Microsoft Corporation. All rights reserved.