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

Searching for Text Not Using a Certain Style

Written by Allen Wyatt (last updated August 15, 2022)
This tip applies to Word 97, 2000, 2002, and 2003


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 the all 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 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 (8792) 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: 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

Ctrl+Break Won't Work to Stop a Macro

When you need to stop a macro while it is running, you normally press Ctrl+Break. What are you to do if the keypress ...

Discover More

Filling Forms and Editing Documents

Word allows you, as part of your document, to create forms. To start using the form, you need to protect the document. If ...

Discover More

Calculating Monthly Interest Charges

Trying to calculate how much people owe you? If you charge interest or service charges on past-due accounts, there are a ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More WordTips (menu)

Finding Formatted Bulleted Paragraphs

Want to find the bulleted paragraphs within a large document? Word doesn't have a built-in way to search for this ...

Discover More

Searching for Text With a Certain Format

The Find and Replace tool in Word is very powerful. You can use it to search not only for text but for the formatting ...

Discover More

Selective Formatting using Find and Replace

The Find and Replace tool in Word allows you to check for formatting in what you search for and use formatting in your ...

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 two less than 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.