View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
tony h[_138_] tony h[_138_] is offline
external usenet poster
 
Posts: 1
Default how to stop running vba code without loosing printed data on the sheet?


look up some of the Debug features either a BREAKPOINT or a WATCH might
help as these do not stop the code but just suspend it. After checking
your values the code can continue from where it stopped.

(or a STOP statement)

eg if myval="ABC" then stop

hope this helps


--
tony h
------------------------------------------------------------------------
tony h's Profile: http://www.excelforum.com/member.php...o&userid=21074
View this thread: http://www.excelforum.com/showthread...hreadid=552895