Crashing when Searching

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


Pavlos reports a problem he is encountering when searching for files using Excel. In the Open dialog box of Excel you can use the search tool to find workbooks on disk. In Pavlos' case, the tool locates the desired workbooks correctly, but then always gives an error message that it has "performed an illegal operation and will shut down." This happens not only in Excel, but in Word, as well.

It's time to put on your troubleshooting hat and do some detective work. The first thing to figure out exactly when the error is occurring. If it occurs when the file is being searched for (before you try to open the file), then there is a chance the problem is with Windows, not Excel or Word. To determine if this is the case, use the Windows Search feature to locate some *.xls files. If you get the same error during the search, the problem is with Windows, and you should run the normal disk maintenance programs such as Scandisk and Defrag; this may clear up the problem.

If the error occurs when you try to open the files in Excel, then try creating a new simple workbook with only one cell filled in. Save it and try to find it. If it opens successfully, then the other files are corrupted and you should try to salvage data from that workbook into a new workbook.

If the new workbook does not open correctly, then there is a problem with your Office installation. Consider reinserting the Office installation CD and choosing the Fix or Repair Office option. Also make sure that you have the most recent service packs installed for your version of Excel.

If the problem persists, then you may need to uninstall Office completely and reinstall it.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2415) 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

Adding Captions

Need to add a caption after a document element such as a figure or table? You can add and format one manually, or you can ...

Discover More

Putting Document Names in Headers or Footers

Want to include the file name of a document on the printed copy without rearranging the layout? You can use a header or ...

Discover More

Making the Paste Options Button Option Persistent

It is nice when you change settings in Word and the program remembers your settings from session to session. In this tip ...

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)

Correctly Saving Delimited Files

Delimited files are often created through Excel so that your data can be exported to other programs. If the delimited ...

Discover More

Closing Multiple Files

When working with multiple workbooks open, you may want a way to close them all with a single command. Here's the secret.

Discover More

CSV File Opens with Data in a Single Column

When you import a CSV file into an Excel worksheet, you may be surprised at how the program allocates the information ...

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 two more than 7?

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.