Exits from a Select statement.
Syntax: Exit Select
Example:
Select x Case 1 If y=2 Then Exit Select ' if y is 2 then jump to the End Select y=1 Case 2 y=2 Case 3 y=3 End Select
Also See: Select