View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] tlicious@gmail.com is offline
external usenet poster
 
Posts: 1
Default Newb VBA question

How do you return from a sub early? I have code that looks like

If x < 5 Then
Return
End If

I get a Return without GoSub error. Coming from a C++ background so I
have no idea what is going on. Thanks.