View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Mike Fogleman Mike Fogleman is offline
external usenet poster
 
Posts: 1,092
Default Rest execution of procedure's or macro's

End will stop all code from running.

Sub HaltCode

If x = y then
x = x + y
Else
End
End if
End Sub

Mike F
"Rick" wrote in message
...
Hi: I'm looking for code that will do the same as the reset command under
Run, or as the toolbar reset button. Is there a way of breaking the stack
of
commands so one can start over.