D
dvdastor
Hi All,
I have a document that contains multiple instances of the following
tag: [Test ID=xxxx] (where xxxx is a numeric variable). Each "Test"
tag signals the beginning of a section that I need to perform some
procedures in.
In some instances, I need to remove a Test if that ID has already been
worked.
What I am trying to do for those cases is locate the [Test ID=xxxx] tag
and set the "[" as my Range.Start. I then need to find the next
instance of "[Test ID=" and set the "[" as the Range.End. Once I have
that Range selected, I can delete it and move on.
I was hoping MoveUntil("[Test ID=") would do the trick, but it does not
work like that. As you know, it just stops at the next instance of
"[".
Does anyone have any suggestions on how to find one item, set that as
the start and then find the next item and set that as the end?
Thanks!
I have a document that contains multiple instances of the following
tag: [Test ID=xxxx] (where xxxx is a numeric variable). Each "Test"
tag signals the beginning of a section that I need to perform some
procedures in.
In some instances, I need to remove a Test if that ID has already been
worked.
What I am trying to do for those cases is locate the [Test ID=xxxx] tag
and set the "[" as my Range.Start. I then need to find the next
instance of "[Test ID=" and set the "[" as the Range.End. Once I have
that Range selected, I can delete it and move on.
I was hoping MoveUntil("[Test ID=") would do the trick, but it does not
work like that. As you know, it just stops at the next instance of
"[".
Does anyone have any suggestions on how to find one item, set that as
the start and then find the next item and set that as the end?
Thanks!