Stop Execution
Sub Main
Dim int As Integer
int = myFunction
End Sub
Function myFunction
Dim i As Integer
i = InputBox
If i9 then Exit Sub 'I want to stop execution of SubMain too!
myFunction = i
End Function
If i9 I want to not only Exit Sub for myFunction but stop SubMain too. How
do I do that?
Thanks,
Art
|