SyntaxFix
Write A Post
Hire A Developer
Questions
In both Visual Basic 6.0 and VB.NET you would use:
Exit For
Wend
Exit Do
depending on the loop type. See Exit Statements for more details.