Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Complex Searches for Documents.

Complex Searches for Documents

Written by Allen Wyatt (last updated September 19, 2020)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365


1

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 Search feature in the Open dialog box, but that doesn't seem to provide much power in searching at all. Nick wonders if there is an easy way to do the type of document searching they need to do.

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/word_tip_pages/vba_find_and_replace.html

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:

X1 Search – https://www.x1.com/products/x1-search/
Copernic - http://www.copernic.com/en/products/desktop-search/
FileSeek - http://www.fileseek.ca/
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 (7978) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365. You can find a version of this tip for the older menu interface of Word 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

Inserting the Date and Time

Inserting a date and time in your document is a snap using the tools provided in Word. Just pick the command, then ...

Discover More

Changing Font Face and Size Conditionally

Conditional formatting does not allow you to change the typeface and font size used in a cell. You can write your own ...

Discover More

Changing Gridline Color

Gridlines are very helpful in seeing where cells are located on the screen. You are not limited to black gridlines; ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!

More WordTips (ribbon)

Opening a Backup File

If you have Word configured to save backup copies of your document, you may want to actually load one of those copies at ...

Discover More

Understanding Background Saving

Word has the capability to save your work, in the background, while you continue to edit your documents. This tip ...

Discover More

Listing Documents with Passwords

Do you need a list of documents that require a password or that require a particular password to open? Word doesn't ...

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 8 - 5?

2020-09-24 07:33:09

Alex B

I don't think you can specify subfolders in the windows search but it will look at all subfolders (at least in my testing). In terms of complexity, this worked for me:-
kind:word content:(domestic AND airport)
To find all word documents in a subfolder of where I started my search with both words in the document.


This Site

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