I hardly use "Exit Sub" in my coding. Usually only when I have large structured subs that require to exit multiple times. Generally if my program is going to have a single if statement I go like:
VB Code:
Private Sub Test() If condition Then ... End If End Sub
Then if the condition is false nothing would have happened in the first place.





Reply With Quote