J
Jay
Hi,
I am extracting individual paragraphs from a source document. I want
to copy these paragraphs to another document, after performing a
find/replace on them. I am working on unformatted text. Is there a way
to do a find and replace on a string? The Word Help seems to imply
that this only works for ranges or selections. If I make a
find/replace on a range, then presumably this will affect my source
document, but I don't want this to happen. Also, according to the Help
(if I understand it correctly) the Find changes the range to the word
that is found, which is not what I want - I want the range to remain
as the entire paragraph. Here's some "pseudo-code" of what I wish to
do...
Loop paragraphs
Extract text-only from paragraph from source document
Replace various words with other words in the extracted paragraph
(but do not alter the source document)
Put modified paragraph into destination document
End Loop
Thanks,
Jay
I am extracting individual paragraphs from a source document. I want
to copy these paragraphs to another document, after performing a
find/replace on them. I am working on unformatted text. Is there a way
to do a find and replace on a string? The Word Help seems to imply
that this only works for ranges or selections. If I make a
find/replace on a range, then presumably this will affect my source
document, but I don't want this to happen. Also, according to the Help
(if I understand it correctly) the Find changes the range to the word
that is found, which is not what I want - I want the range to remain
as the entire paragraph. Here's some "pseudo-code" of what I wish to
do...
Loop paragraphs
Extract text-only from paragraph from source document
Replace various words with other words in the extracted paragraph
(but do not alter the source document)
Put modified paragraph into destination document
End Loop
Thanks,
Jay