End[{Function | If | Sub}]
Ends a program or a block of statements such as a Sub procedure or a function.
Related Topics: Exit, Function, If...Then...Else, Select Case, Stop
More:
Example: