Fixing "Can't Find Files" Errors

by Allen Wyatt
(last updated October 12, 2013)

Jamie is having problems starting Excel properly. When he starts the program he gets two error messages: One says that Excel cannot find the file Microsoft.xls, and the other that it cannot find the file Office.xls. After clicking OK to both of the errors, Excel works normally.

When you start Excel, it should do just that—start right up. Error messages like the ones mentioned mean that Excel thinks it should be able to find a couple of files, but it cannot. The two files in this instance are both XLS files, so they are workbooks that Excel thinks it should be able to open.

In doing searches of systems with newly installed versions of Excel, there are no workbooks with the names Microsoft.xls or Office.xls, so I can only conclude that the files were added to the machine by a user, by a third-party program, or by some add-in for Excel.

The first thing to try is to force Excel to re-register itself in the Windows Registry. You do this at the command prompt (or after choosing Start | Run), using a command line like the following:

"C:\Program Files\Microsoft Office\Office\Excel.exe" /Regserver

The quote marks around the full path are mandatory, and there is a good chance that the path name to Excel.exe will be different on your system than what is shown here. After executing this command line, try starting Excel again and see if you get the same errors; you may very well not get them.

If you continue to get the errors, then search your system for the XLSTART folder. Make sure there is nothing in there, such as a workbook. Anything in the folder is automatically loaded by Excel when it starts, and—if there is a workbook present—it could reference the two missing files.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2375) applies to Microsoft Excel 97, 2000, 2002, and 2003.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Auto Creation of an Acronym List

If you use a lot of acronyms in your documents, you may want a quick way to compile those acronyms and their definitions into ...

Discover More

Unhiding Multiple Worksheets

You can hide a bunch of worksheets at the same time, but Excel makes it impossible to unhide a bunch at once. You can, ...

Discover More

Jumping To a Comment

Got a document with lots of comments in it? You can navigate from comment to comment with ease by using the Go To tab of the ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

MORE EXCELTIPS (MENU)

Setting the Calculation Default

Excel can recalculate your worksheets either automatically or manually. The default is to calculate them automatically, ...

Discover More

Understanding Relative and Absolute Addressing

In Excel you can reference a cell in a formula by entering the coordinates for the cell you want to reference. This can ...

Discover More

Editing the Custom Spelling Dictionaries

Excel provides spell-checking capabilities on the text you enter in a worksheet. It utilizes the same dictionaries and custom ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments for this tip:

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is seven minus 6?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.

Links and Sharing
Share