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: Searching for Text Not Using a Certain Style.

Searching for Text Not Using a Certain Style

Written by Allen Wyatt (last updated March 6, 2021)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365


1

Hilary notes that she can easily use Word to search for text that is formatted using a certain style or a certain text attribute. For instance, she can search for text that uses the Body Text style or text that is bold. She can even search for text that doesn't have a certain attribute, such as text that is not bold. However, Hilary can't figure out how to search for text that doesn't use a certain style. She wonders if there is a way to search, for example, all the text that doesn't use the Body Text style.

There is no direct way to do this in Word. There are indirect methods you can use, however. Perhaps the easiest is to see if the Body Text paragraphs share some similarity that can be capitalized. For instance, each of them may have some text phrase in common or they might share a common formatting attribute. This last commonality is the most promising.

If, for instance, your Body Text style is defined to have a paragraph indent that is different from the rest of your document, then you can use that indent in your search. Let's say that your Body Text paragraphs are all indented at .2 inches. You could search for all paragraphs that have no indent (an indent of 0 inches). This finds all the paragraphs that don't match the Body Text specification. The only way you would run into problems, of course, is if you had other styles (besides Body Text) that had some sort of an indent.

This leads to another possible solution. Follow these general steps:

  1. Use Find and Replace to Find all the instances of the Body Text style. In the Replace With box, click the Format button and click Highlight.
  2. Click Replace All. You end up with all instances of the Body Text style being highlighted.
  3. Clear the formatting in the Find and Replace dialog box. In the Find What box click Format | Highlight twice. This will show up in the dialog box (under the Find What box) as Not Highlight.
  4. Click Find. Word finds the first occurrence of a paragraph that isn't formatted using the Body Text style. You can find additional occurrences, as desired.

That's it; you've found what you wanted found. When you are done you can use the technique in the first two steps to get rid of the highlighting.

Of course, you could replace the first two steps with just modifying the Body Text style so that it includes the highlighting. When you are done, just get rid of that attribute in the style definition.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (8793) 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: Searching for Text Not Using a Certain Style.

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

Updating Automatic Links

Normally, Word updates links within your document when you first open the document. If you don't want Word to do this, ...

Discover More

Hiding and Displaying Hidden Text

You can easily hide text by simply changing the attributes associated with the text. Once that is done, you can turn the ...

Discover More

Saving Your Work Automatically

Word can be configured to save your work periodically; on any time schedule you desire. This tip explains this feature ...

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 (ribbon)

Searching for Styles

If you use styles to format your text, you can later search for words and phrases that are formatted using various ...

Discover More

Making Custom Heading Styles Appear in the Navigation Pane

Creating styles for your documents is a powerful way to format them. How do you get paragraphs formatting with those ...

Discover More

How Word Applies Styles

Styles are a great boon for applying styles in a powerfully consistent manner. How Word applies styles, however, depends ...

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 three minus 2?

2021-03-06 19:42:51

Tomek Dluzniewski

I would modify and expand the approach posted by Allen, especially if you want to exclude more than a single style:

1. Open the Styles Panel (Alt+Ctrl+Shift+S) or click on the corner-arrow in the styles group.
2. Locate the style you want to exclude (Body Style in the example). Click on down-arrow beside it then click on select all. (before you click, it will show either "no data" or number of instances formatted with the style).
3. Click on down arrow beside Text Highlight Button and select highlight colour, (or use the previously selected colour, if any). You'll end up with all instances of the Body Text style being highlighted.
4. Repeat steps 2 and 3 for any additional styles you want to exclude.
5. Press Ctrl+H to open Advanced Find dialog box. Clear the formatting in the Find What box. Still in the Find What box click Format | Highlight twice. This will show up in the dialog box (under the Find What box) as Not Highlight.
6. Click Find. Word finds the first occurrence of a paragraph that isn't formatted using the Body Text or any other style you processed in steps 2 and 3. You can find additional occurrences, as desired.


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.