Quote:
Originally Posted by billob
I can get the macro to run until it's first 'hit' occurs.
...
The problem is I can't get the macro to go any farther unless I fix this condition.
How do I get the macro to skip over this 'hit' and continue on?
|
That's how it was intended to work. If you want it to work from just the current selection (which means you'd have to select the range to process), change:
ActiveDocument
to:
Selection
or, to work from there to the end of the document, change:
ActiveDocument.Paragraphs
to:
ActiveDocument.Range(Selection.Start, ActiveDocument.Range.End).Paragraphs