bottom
Great WordTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > WordTips Home > Formatting > Searching for Formatting > Selective Formatting using Find and Replace

Selective Formatting using Find and Replace

Summary: The Find and Replace tool in Word allows you to check for formatting in what you search for and use formatting in your replacement text. What it doesn’t do is allow you to be selective on which characters of your replacement text have formatting applied. There is a way around this using two passes through Find and Replace, as described in this tip. (This tip works with Microsoft Word 97, Word 2000, Word 2002, Word 2003, and Word 2007.)

Andy had a document that used the phrase "n-day" quite a bit, and he wanted the "n" to be in italics but the rest of the phrase in regular type. Faced with the task of making the desired formatting change many times over, Andy searched around for a solution using Word's Find and Replace tool.

Andy could search for "n-day" with no problem. However, there was a problem when trying to change jus the "n" to italics because Find and Replace only applies formatting changes to the entire Replace With text, not just to selected characters.

The solution was to do a two-pass Find and Replace. In the first pass, Andy changed the entire "n-day" phrase to italics. On the second pass he searched for "-day" (without the "n") and replaced it with a non-italics version. The result was just what he wanted, with only the single character in italics.

Tip #436 applies to Microsoft Word versions: 97 | 2000 | 2002 | 2003 | 2007


Step Up and Take Control! Subscribers to WordTips know just how valuable a resource it is. WordTips Premium provides twice the number of exceptional, easy-to-understand tips every week in an ad-free newsletter, as well as substantial discounts on WordTips archives and e-books.
 
Check out WordTips Premium today!

Helpful Links

Ask a Word Question
Make a Comment

Tips.Net Home
Tips.Net Store

WordTips FAQ
WordTips Premium

Learn Access Now

Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips

Advertise on the
WordTips Site

 

Great Info!

Get tips like this every week in WordTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)