Exit Sub

<< Click to Display Table of Contents >>

Navigation:  Control Commands >

Exit Sub

Description

Immediately exits the Sub procedure in which it appears. The Exit Sub statement is equivalent to the Return statement.

Syntax

Exit Sub