T
Tim of Calgary
I am copying multiple blocks of text from a raw file to a Word file and have
to reformat them as I go. The macro consists of a number of iterations of
F&R, and is designed to run over a selection (believe me, this is easier than
grepping the source docs).
When the macro hits this combo:
find = "^p"
replace with = " "
(to remove para breaks; another part reinserts them in the correct places).
The macro ignores the direction to stop at end of selection and instead
wipes all carriage returns to the end of the document, and by the way applies
the style of the last paragraph of the doc to everything from the selection
start on.
Any thoughts on how to fix this? The F&R works fine if done manually, just
not in a macro.
to reformat them as I go. The macro consists of a number of iterations of
F&R, and is designed to run over a selection (believe me, this is easier than
grepping the source docs).
When the macro hits this combo:
find = "^p"
replace with = " "
(to remove para breaks; another part reinserts them in the correct places).
The macro ignores the direction to stop at end of selection and instead
wipes all carriage returns to the end of the document, and by the way applies
the style of the last paragraph of the doc to everything from the selection
start on.
Any thoughts on how to fix this? The F&R works fine if done manually, just
not in a macro.