VBA Find Replace text including in Footnotes

S

Suzanne Bronson

I have a macro that includes a find/replace which works great except that it
does not include a search of footnotes. How can I include footnotes in this..

With Selection.Find
.Text = VARIABLE
.Replacement.Text = SUBJECT
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = True
.MatchWholeWord = True
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll

Thanks very much.

Suzanne Bronson
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top