Return
Previous Top Next

Ends the current sub and returns to the calling sub.
If Return is followed by a value, then the value will be passed to the calling sub.
Syntax: Return [Value]

Example:
Sub Button1_Click
            If IsInteger (a) = true Then b=a
End Sub

Sub IsInteger (x)
            If x = Int(x) Then Return true Else Return false
End Sub