Thread: Exit VBScript
View Single Post
  #2  
Old 12-14-2005, 02:02 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,754
Use structured programming or put your code in a subroutine and exit the subroutine:

MySub ' call the subroutine

Sub MySub()

' some code

Exit Sub

' some more code

End Sub
Reply With Quote