Quote:
Originally Posted by vivka
Hi, try this:
Code:
Sub formatting()
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
Selection.Find.Replacement.Font.Italic = True
With Selection.Find
.Text = "et al"
.Forward = True
.Wrap = wdFindContinue
.MatchCase = True
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
.Execute Replace:=wdReplaceAll
.Text = "Apple"
.Execute Replace:=wdReplaceAll
End With
End Sub
|
It works well! Many thanks for your help!