View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default On Error STOP!!!

Use Stop

On Error Goto quit_it
'code


quit_it:
Stop

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Vikxcel" wrote in
message ...

Ok, so I searched and I need your help again guys.
How do I stop on Error? just quit, maybe drop a msgbox in there with a
reason, but just stop right after it, don't do anything in the code???

Thank you all for your help.

So:
On Error ????
MsgBox "Command Terminated"
...?


--
Vikxcel
------------------------------------------------------------------------
Vikxcel's Profile:

http://www.excelforum.com/member.php...o&userid=18607
View this thread: http://www.excelforum.com/showthread...hreadid=477714