Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Complex Searches for Documents.

Complex Searches for Documents

Written by Allen Wyatt (last updated March 14, 2020)
This tip applies to Word 97, 2000, 2002, and 2003


Nick's legal department has lots of Word documents in specific subfolders of a directory and would like to search those subfolders for documents containing a name or phrase within the document itself. According to Nick, their options appear to be two-fold. First, they can use Windows Search, but that does not appear to allow the searcher to specify multiple subfolders to use in the search. Second, they can use the Advanced features of the Search tool (under Tools in the Open dialog box) to run a fairly sophisticated search specifying the subfolders and parameters.

The problem with this second approach is that it appears you can only click on one of the results. (Trying to build a selection set doesn't work.) When you click on a result, it populates the Open dialog box with that file name and allows you to easily open the file. But if that file isn't what you were looking for, you have to repeat the search again. Nick wonders if there is an easier way to do the type of document searching they need to do without needing to repeat a full search for each individual document.

Nick is right; the two apparent approaches are not the best for those trying to do complex searches. One option is to, within Word, develop your own search capability using VBA. This can be a difficult route to go, but it can provide specific, focused results. If you choose to go this route, then here is a good place to start:

http://gregmaxey.mvps.org/VBA_Find_And_Replace.htm

If you don't want to go the build-it-yourself route (and, honestly, I couldn't blame you in this circumstance), then there are any number of third-party Windows tools that you can use to do your searching. Here are just a few suggested by WordTips readers, in no particular order:

Copernic - http://www.copernic.com/en/products/desktop-search/
Wilbur and Wilma - http://www.redtree.com
Google Desktop Search - http://desktop.google.com
FileSeek - http://www.binaryfortress.com/fileseek/
Total Commander - http://www.ghisler.com

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (7976) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Complex Searches for Documents.

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

Discovering the RGB Value of a Custom Text Color

Word allows you to easily change the color of the text in your document. If you get a document from someone else, you may ...

Discover More

Number Formatting Shortcuts

Keyboard shortcuts can save time and make developing a workbook much easier. Here's how to apply the most common of ...

Discover More

Swapping Two Numbers

When programming macros, variables are used extensively. At some point you might want to exchange the values held in two ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (menu)

Viewing Document Statistics

As you develop a document, Word keeps track of certain statistics about the document itself. Here is how you can review ...

Discover More

Recovered Document becomes Default

Word has a feature called AutoRecover that helps you when Word or Windows crashes. If your Normal template gets messed up ...

Discover More

Word Slow to Open Documents

If you've noticed a slowdown in Word when it is opening a document, you probably would like to speed up the operation. ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, 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 5 + 9?

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 Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, 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.