Fixing "Can't Find Files" Errors

Written by Allen Wyatt (last updated May 1, 2021)
This tip applies to Excel 97, 2000, 2002, and 2003


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

Capitals After Colons

Do you want Word to always capitalize the first letter appearing after a colon? The program won't do it by default, but ...

Discover More

Using RD Fields with Chapter Headings

The RD field can be handy for pulling together a bunch of documents into a single file. However, using the field can play ...

Discover More

Highlighting the Rows of Selected Cells

If you lose your place on the screen quite often, you might find it helpful to have not just a single cell highlighted, ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (menu)

Inserting the User's Name in a Cell

Need to understand who is using a particular workbook? There are a number of ways you can find out, as discussed in this tip.

Discover More

Changing Your Company Name

The installation process for Office and Excel allows you to specify a company name. If your company name later changes, ...

Discover More

Starting in Safe Mode

By using a command-line switch, Excel can be started in safe mode. This means that the program is loaded with bare-bones ...

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

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}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. 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 four minus 0?

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


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

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.