H
HONYAKUKA
Word2000
I would like to perform a search-replace within a selected range of text (as
opposed to the whole document) and perform the same search repeatedly (within
the original range) until the target text-combination no longer exists.
(Specifically, "^p^p^p" to "^p^p", i.e., three contiguous paragraph marks to
two.)
I can't figure out how to retain the original selection (of course, the
"original" selection changes internally with each pass of the search-replace).
If you define a range as being the original selection, that named range no
longer refers to the original selection (as altered) once the search-replace
routine is run through the first pass. I tried defining the range by setting a
bookmark at the beginning and one at the end of the original selection, but the
search-replace routine destroys the end bookmark, so the orginally defined
range can no longer be selected.
Anyway, is there a foolproof way of defining the beginning and the end of the
original selection, so the range can be reselected and the search-replace
routine run till exhaustion? Thanks very much.
Jay
I would like to perform a search-replace within a selected range of text (as
opposed to the whole document) and perform the same search repeatedly (within
the original range) until the target text-combination no longer exists.
(Specifically, "^p^p^p" to "^p^p", i.e., three contiguous paragraph marks to
two.)
I can't figure out how to retain the original selection (of course, the
"original" selection changes internally with each pass of the search-replace).
If you define a range as being the original selection, that named range no
longer refers to the original selection (as altered) once the search-replace
routine is run through the first pass. I tried defining the range by setting a
bookmark at the beginning and one at the end of the original selection, but the
search-replace routine destroys the end bookmark, so the orginally defined
range can no longer be selected.
Anyway, is there a foolproof way of defining the beginning and the end of the
original selection, so the range can be reselected and the search-replace
routine run till exhaustion? Thanks very much.
Jay