MacResource
This VBA code is new to me... - Printable Version

+- MacResource (https://forums.macresource.com)
+-- Forum: My Category (https://forums.macresource.com/forumdisplay.php?fid=1)
+--- Forum: Tips and Deals (https://forums.macresource.com/forumdisplay.php?fid=3)
+--- Thread: This VBA code is new to me... (/showthread.php?tid=17605)



This VBA code is new to me... - Greg the dogsitter - 08-25-2006

If Then
If Then

End If '
End '*** What does "end" do, on its own?
End If '

Please see asterisks, above...


Re: This VBA code is new to me... - TheTominator - 08-25-2006

On its own, End will terminate the VBA application.
(It shouldn't be used this way though. Instead you should use Exit.)

Note that I don't know VBA. I have the book VB/VBA in a Nutshell and that is found under the description of End on page 246.