View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
JPW JPW is offline
external usenet poster
 
Posts: 1
Default how to stop a macro


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