A simple question that I cannot find the answer too. Below is an section of code to show what I'm looking for. I need to display a error message and then exit the script, what is the command to exit the VBscript?
Function myDuplicateStyle (myInDesign, myDocument)
On Error Resume Next
If Error.Number <> 0 Then
MsgBox "Custom Style Number " & myStyleNumber & " Missing From Custom Style Document"
*** What goes here? ***