I have:
For Each <file> in <directory>
'Find InStr("text",<file>)
Next
Once I find the "text" in the <file> name. I want to stop looping through the <file>s in the <directory>.
You know...like a while loop...except for folder and file objects.
Is there a way I can exit the loop or use some kind of a bolContinue variable to stop looping?
Thanks for any help you can give.
Aaron
For Each <file> in <directory>
'Find InStr("text",<file>)
Next
Once I find the "text" in the <file> name. I want to stop looping through the <file>s in the <directory>.
You know...like a while loop...except for folder and file objects.
Is there a way I can exit the loop or use some kind of a bolContinue variable to stop looping?
Thanks for any help you can give.
Aaron