J
jjacobs13
I am looking for a way to emulate the Find & Replace function in Word.
However, I would like to Find multiple selections and uniquely Replace
each one (after having pasted them each on a new line at the beginning
of the document/template).
For example, I have the word "Bob" and "Jon", and I would like to
replace each occurrence with "George" and "Fred", respectively.
I have the following at the beginning of the document:
Bob
Jon
George
Fred
How would I go about coding a small script for a Macro that would cut
each line and use every two in a Find & Replace function? (Perhaps
even have a textbox appear at the start of the Macro that would request
the number of Find & Replace items.)
However, I would like to Find multiple selections and uniquely Replace
each one (after having pasted them each on a new line at the beginning
of the document/template).
For example, I have the word "Bob" and "Jon", and I would like to
replace each occurrence with "George" and "Fred", respectively.
I have the following at the beginning of the document:
Bob
Jon
George
Fred
How would I go about coding a small script for a Macro that would cut
each line and use every two in a Find & Replace function? (Perhaps
even have a textbox appear at the start of the Macro that would request
the number of Find & Replace items.)