Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, and 2013. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Replacing with a Subscript.
by Allen Wyatt
(last updated September 6, 2014)
Arie needs to replace one name with another for several thousand occasions in hundreds of documents. The new name has a subscript character in it, like 'TO2', where the '2' is in subscript. Arie notes that it doesn't seem possible to put this into the standard Find and Replace function in Word, but doesn't look forward to doing the replacements by hand.
Actually, there are a couple of ways you can approach this issue; you should pick the one that is easiest to remember and that fits best with the way you normally work.
The first approach is to do a two-step replacement. Replace the original text with something like "TO++2++". The idea is to make sure that you surround the "2" (the part that will eventually be subscripted) with a sequence of characters that won't be elsewhere in your document. Then, do a replace operation search for "++2++" and replace it with a subscripted "2".
The second approach is easier still; it allows you to do the replacement in a single pass. Follow these general steps:
Word dutifully replaces the original text with the properly formatted TO2 text.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (13242) applies to Microsoft Word 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Word here: Replacing with a Subscript.
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!
When working with documents (particularly those prepared by others) it is not unusual to need to count words that possess ...Discover More
If you have a document that was produced in a country where decimal commas are used instead of decimal points, you may be ...Discover More
Got a table that contains rows you want to delete? Deleting one or two rows in a table is easy; deleting a bunch of rows that ...Discover More
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
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.