J
Joe Sorrenti
I have to loop through numerous documents in a directory and find and
replace paragraphs. I plan on having one open documnet with two paragraphs,
the first paragraph is the one to find, the second is the one to replace.
Next I need to open the other documents and iterate through the paragraphs.
If the paragraph text equals the first paragraph in the original document, I
would like to replace it with the second paragraph in the original document.
Does anybody have an example of searching for one paragraph and replacing
the text of it with the text of another paragraph?
replace paragraphs. I plan on having one open documnet with two paragraphs,
the first paragraph is the one to find, the second is the one to replace.
Next I need to open the other documents and iterate through the paragraphs.
If the paragraph text equals the first paragraph in the original document, I
would like to replace it with the second paragraph in the original document.
Does anybody have an example of searching for one paragraph and replacing
the text of it with the text of another paragraph?