E
Ed
I'm looping through a number of documents using
With rng.Find
.Text = strFind
.Replacement.Text = strRepl
.Format = False
.Wrap = wdFindContinue
.Execute Replace:=wdReplaceAll
End With
How do I tell if this actually did find and replace something? If it did,
I'd like to Debug.Print my document name so I can go back and make sure it
was a good replacement.
Ed
With rng.Find
.Text = strFind
.Replacement.Text = strRepl
.Format = False
.Wrap = wdFindContinue
.Execute Replace:=wdReplaceAll
End With
How do I tell if this actually did find and replace something? If it did,
I'd like to Debug.Print my document name so I can go back and make sure it
was a good replacement.
Ed