Written by Allen Wyatt (last updated December 18, 2019)
This tip applies to Word 2007, 2010, 2013, and 2016
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 just the "n" to italics because Find and Replace only applies formatting changes to the entire Replace With text, not just 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.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (10777) applies to Microsoft Word 2007, 2010, 2013, and 2016. You can find a version of this tip for the older menu interface of Word here: Selective Formatting using Find and Replace.
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!
Need to get the margins on your document exactly right? It can be a challenge to get the Word settings where you need ...
Discover MoreWant your company name to always appear in a particular formatted manner? Word provides two ways you can approach the ...
Discover MoreFormal reports look better when they are set up with an introductory cover page. Here's how you can add a cover page in a ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
2016-01-08 17:42:26
Peter Buxton
If you use the 'Search for n- and replace with n- (italic font)' alternative suggested, be careful with hyphenated compound words, like 'non-italics' above.
2016-01-03 20:12:06
Paul Kinnecom
Easier still:
Search for n- and replace with n- (italic font).
2016-01-02 10:35:11
Bill
This is a very useful tip.
Thank you for this idea.
Bill
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.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2023 Sharon Parq Associates, Inc.
Comments