  | 
Purpose 
Ends a procedure or loop structure. 
In the case of a procedure, processing moves to the line after the procedure call. In the case of a loop structure, processing moves to the line following the loop. 
Syntax 
Exit 
Exit Sub 
Exit Function 
Exit Do 
Exit For 
Example 
 |   |