J
JB
Hi Folks,
I'm doing a find/replace using VBA and I only want the code to run through
the document once from top to bottom and was wondering if there was a way
for me to set the cursor on the first line, run through and do the checks
then when the checks are finished exit the sub?
Problem is that there may be more than one instance of the text I'm looking
for so I had to use a Do Until clause to keep teh search going but now I can
only stop it using a counter which is not where I want to be.
Any pointers appreciated.
J
I'm doing a find/replace using VBA and I only want the code to run through
the document once from top to bottom and was wondering if there was a way
for me to set the cursor on the first line, run through and do the checks
then when the checks are finished exit the sub?
Problem is that there may be more than one instance of the text I'm looking
for so I had to use a Do Until clause to keep teh search going but now I can
only stop it using a counter which is not where I want to be.
Any pointers appreciated.
J