Thread: stopping code
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default stopping code

Hi,

Ctrl+Break and select 'Debug'

Mike

"Jase" wrote:

I have a button that runs a series of subs. I sometimes need to quit running
the code in the middle of running it, to do this I just keep hitting excape
until i get a debug to end it. Is their a way that I could have a button
with code that would jump in and end right away? and if possible to tell me
at what sub I have eneded at?

thanks,

Jase