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

Working with Table Columns and Rows

Need to add or delete columns and rows from a table? It's easy to do using the tools provided in Word.

Discover More

Working with ISO Files

ISO files provide a digital copy of what is stored on an optical disc. Windows allows you to treat these files as if they ...

Discover More

Who Has the Workbook Open?

When you are working with workbooks to which multiple people have access, it can be helpful to know who has a particular ...

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)

Determining If the End of a Text File Has Been Reached

When writing a macro that processes a text file, you may need to know when the end of the file has been reached. This is ...

Discover More

Controlling Names of Backup Files

Want to control the name and location of your document backup? Here are some ideas that may help.

Discover More

Specifying a Location To Save Automatic Backup Files

When Word creates automatic backups of your documents, you may not like where Word stores them. This naturally leads to ...

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

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.