mikerickson,
I often have code such as this:
Do
read a line of code from a file.
IF this rule is broken, report it and go to the next item in the do loop.
some code
IF this rule is broken, report it and go to the next item in the do loop.
some code
IF this rule is broken, report it and go to the next item in the do loop.
some code
Loop until there are no more lines of code to examine.
How do I go to the next iteration of the loop each time I encounter a rule broken?
Searching back in my memory of VBA from a long time ago I remember a double loop. I will put it in the next reply.
Thanks,
Kevin