Statement | Description |
|
End | Terminates execution immediately. Never required by itself but may be placed anywhere in a procedure to end code execution, close files opened with the Open statement and to clear variables. |
End Function | Required to end a Function statement. |
End If | Required to end a block If…Then…Else statement. |
End Property | Required to end a Property Let, Property Get, or Property Set procedure. |
End Select | Required to end a Select Case statement. |
End Sub | Required to end a Sub statement. |
End Type | Required to end a user-defined type definition (Type statement). |
End With | Required to end a With statement. |