C
Christine
Hi group,
I was wondering if it was possible to streamline a macro that I have. It
finds and replaces certain text, but does so because I have pasted a copy of
the code below for each instance. Is there a better way to do this?
The code looks like this:
With Selection.Find
.Text = "product"
.Replacement.Text = "productA"
.Forward = True
.Wrap = wdFindAsk
.Format = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
Thanks,
Christine
I was wondering if it was possible to streamline a macro that I have. It
finds and replaces certain text, but does so because I have pasted a copy of
the code below for each instance. Is there a better way to do this?
The code looks like this:
With Selection.Find
.Text = "product"
.Replacement.Text = "productA"
.Forward = True
.Wrap = wdFindAsk
.Format = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
Thanks,
Christine