Dear Paul,
hope you are doing good,
here I have a query as in
Code:
'Replace the found text, asking first
Do While .Find.Found
.Duplicate.Select
Rslt = MsgBox("Replace this instance of:" & vbCr & _
Split(xlFList, "|")(i) & vbCr & "with:" & vbCr & _
Split(xlRList, "|")(i), vbYesNoCancel)
If Rslt = vbCancel Then Exit Sub
If Rslt = vbYes Then .Text = Split(xlRList, "|")(i)
.Collapse wdCollapseEnd
.Find.Execute
Loop
End With
what is to be changed so that it just replace in one go ......not asking first etc...
as last night I was working on a doc fie and it had around 300+ same text which need to replaced, and I was ding one by one using macro.
Thanks,
Nancy