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

Inserting Endnotes

Endnotes appear at either the end of a section or the end of an entire document. It is just as easy to insert an endnote ...

Discover More

Returning a Weight and a Date

If you have two columns containing dates and weights from those dates, you may want to pick a date associated with a ...

Discover More

Repeating Column Information on Each Page

When your table occupies lots of pages, you may want to have information in a particular column repeated on each page. ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (menu)

Adding a File Path and Filename

If you need to stuff the current workbook's filename and path into a cell or a header or footer, you'll appreciate the ...

Discover More

Finding the Parent Folder

Do you need to figure out the name of the parent folder of whatever folder a worksheet is in? Believe it or not, this can ...

Discover More

Creating a CSV File

Need to get your data into a format that can be easily read by other programs? Chances are good that a simple CSV file ...

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 2 + 2?

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.