S
singeredel
How can this find/replace be modified to enable search and replace of
multiple words without repeating this code for each word to be replaced (if
more efficient)?
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Text = "{DOI}"
.Replacement.Text = DOI$
.Forward = True
.Wrap = wdFindContinue
.MatchCase = True
End With
Selection.Find.Execute Replace:=wdReplaceAll
Thank you!
multiple words without repeating this code for each word to be replaced (if
more efficient)?
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Text = "{DOI}"
.Replacement.Text = DOI$
.Forward = True
.Wrap = wdFindContinue
.MatchCase = True
End With
Selection.Find.Execute Replace:=wdReplaceAll
Thank you!