SyntaxExit Do Exit For Exit Function Exit Property Exit Select Exit Sub Exit Try Exit While DescriptionThe various Exit statements prematurely exit a block of code. Usage at a GlanceThe Exit statement is used as follows:
While loops, only the innermost loop is exited. Program execution continues with the first line of code after the exited loop. See AlsoContinue Statement, End Statement |