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, Word in Microsoft 365, and 2021


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, Word in Microsoft 365, and 2021.

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

Understanding DATE Field Formatting

One of the most commonly used fields is the DATE field. You can specify how the DATE field displays the current date by ...

Discover More

Checking if a Workbook is Already Open

Knowing if a workbook is already open can be a prerequisite to your macro working correctly. Here's how to check it out.

Discover More

Entering Dates without Separators

When doing data entry into a worksheet, you might want to enter dates without the need to type the separators that are ...

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)

Copying Found Items to a New Document

Word allows you to use its searching capabilities to easily find multiple items in a document. What if you want to copy ...

Discover More

Keyboard Control of the Find and Replace Dialog Box

Hate to take your hands off the keyboard? This tip explains how you can use the keyboard to work with the Find and ...

Discover More

Changing the Formatting of All Instances of a Word

Need to find all the instances of a particular word and change the formatting of those instances? It's easy to do using ...

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 four less than 7?

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.