Use the statement "Exit Sub" if you are in a sub, or "Exit Function" i
you are in a function
--
JP
-----------------------------------------------------------------------
JPW's Profile:
http://www.excelforum.com/member.php...fo&userid=2448
View this thread:
http://www.excelforum.com/showthread.php?threadid=38086