Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Replacing with a Subscript.

Replacing with a Subscript

Written by Allen Wyatt (last updated December 16, 2023)
This tip applies to Word 97, 2000, 2002, and 2003


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:

  1. Type "TO2" and apply the subscript format to the appropriate character (the "2").
  2. Select only the properly formatted text and press Ctrl+X. This puts the text into the Clipboard.
  3. Press Ctrl+H to display the Replace tab of the Find and Replace dialog box.
  4. In the Find What box place whatever text you are searching for.
  5. In the Replace With box enter the characters ^c. This informs Word that you want to replace any instances of the Find What text with whatever is in the Clipboard (your properly formatted text).
  6. Click Replace All.

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 (3837) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Replacing with a Subscript.

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

Saving Everything

Need to force users to save their work? It may be as simple as implementing a couple of macros that get a bit more ...

Discover More

Removing a Directory

Macros allow you to perform all sorts of file-related operations. One such operation allows you to delete a directory. ...

Discover More

Moving the Insertion Point to the Beginning of a Line

If you need to move the insertion point within your macro, then you'll want to note the HomeKey method, described in this ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 365 applications with VBA programming. Written in clear terms and understandable language, the book includes systematic tutorials and contains both intermediate and advanced content for experienced VB developers. Designed to be comprehensive, the book addresses not just one Office application, but the entire Office suite. Check out Mastering VBA for Microsoft Office 365 today!

More WordTips (menu)

Searching for Multi-Byte Hex Codes

Need to find a character for which you only know the hex code? There are a few ways you can search for the information, ...

Discover More

Adding Many No-Width Optional Breaks

One of the special characters you can add in a document is the no-width optional break. Although originally designed for ...

Discover More

Removing All Comments

Need to get rid of all the comments in your document? You can do so by using the regular Find and Replace feature of Word.

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 3 + 1?

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 menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon 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.