Ann,
It's true that in a straight search and replace, the entire formula gets
changed to subscript. So for this a macro with a loop is needed that
stops the search at each instance, selects the 2 and performs the
formatting operation just on the 2, then continues the search until all
the changes have been made. If you don't know how to create a macro and
assign a keystroke to it, go to this page:
http://www.mvps.org/word/FAQs/MacrosVBA/CreateAMacro.htm
Larry
Application.ScreenUpdating = False
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Text = "<H2O>"
.Replacement.Text = ""
.Forward = True
.MatchWildcards = True
.Wrap = wdFindContinue
Do While .Execute
Selection.Characters(2).Select
Selection.Font.Subscript = True
Selection.Collapse wdCollapseEnd
Loop
End With
' clear find parameters
With Selection.Find
.Text = ""
.Replacement.Text = ""
.MatchWildCards = False
End With