Replacing Formatting Functions as a Toggle

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


Sarra is trying to use Find and Replace to make a particular word italic throughout an entire document. Some of the existing occurrences are already italics, but most are not. The replace operation is switching the existing italics back to regular text—it is functioning as a toggle. Sarra wonders how to get Find and Replace to convert all the words to italics without changing those that already are italics.

In testing, I could not replicate Sarra's problem of previously italic text become non-italic and previously regular text becoming italic. Even so, there is a rather easy way to anticipate and overcome any potential problem and still only perform a single find and replace operation. Follow these steps:

  1. Press Ctrl+H. Word displays the Replace tab of the Find and Replace dialog box.
  2. Click the More button, if it is available. (See Figure 1.)
  3. Figure 1. The Replace tab of the Find and Replace dialog box.

  4. Click the No Formatting button, if it is available.
  5. In the Find What box, enter the word or phrase for which you want to search.
  6. With the insertion point still in the Find What box, press Ctrl+I twice. The text "Not Italic" should appear just below the Find What box.
  7. Click once in the Replace With box to place the insertion point there.
  8. Click the No Formatting button, if it is available.
  9. In the Replace With box, either enter the same word or phrase you specified in step 4, or enter ^&, which instructs Word to use the text in the Find What box.
  10. With the insertion point still in the Replace With box, press Ctrl+I once. The text "Italic" should appear just below the Replace With box. (See Figure 2.)
  11. Figure 2. Getting ready to do the replace operation.

  12. Change any other settings in the dialog box, as desired.
  13. Click the Replace All button.

The result of this approach to doing the Find and Replace is that only the text that is not italic will be matched and changed to italic. Any text previously formatted as italic will be skipped completely.

You should note that steps 5 and 9 use a formatting shortcut for specifying "not italic" and "italic," respectively. You could, if you prefer, also click Format | Font in each step to display the Find Font dialog box (step 5) and Replace Font dialog box (step 9) and then choose Not Italic (step 5) and Italic (step 9).

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (5910) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, 2021, and Word in Microsoft 365.

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

Allowing Only Comments in a Document

Develop a document that is to be reviewed by a group of people, and you may want to protect it in some way. One way you ...

Discover More

Automatic Selection of Portrait or Landscape

Should you print in portrait or in landscape? The decision can greatly affect the way your printout looks. Wouldn't it be ...

Discover More

Changing ToolTips for a Macro Button

Want to change the ToolTip that appears when you hover the mouse over a button on a toolbar? It's a bit more involved ...

Discover More

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

More WordTips (ribbon)

Pay Attention to Case when Searching for ASCII Codes

Word allows you to search for specific ASCII codes in a document. If you use codes to search for alphabetic characters, ...

Discover More

Special Differences when Searching

Word includes two different search engines. Which search engine you choose to use will dictate what Word shows as ...

Discover More

Getting Rid of Trailing Spaces in Footnotes and Endnotes

The Find and Replace tool can get rid of trailing spaces in paragraphs quite nicely. If those spaces are at the end of ...

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 minus 0?

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 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.