View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default Programmatically Halt Macro and Open VB Editor

Insert

Stop

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"ron" wrote in message
...
I have an IF statement in a macro. If one branch is selected, I would
like to halt (not end) macro execution and open up the VB editor
window. What code would I use to accomplish this?...TIA, Ron