ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Programmatically Halt Macro and Open VB Editor (https://www.excelbanter.com/excel-programming/407697-programmatically-halt-macro-open-vbulletin-editor.html)

ron

Programmatically Halt Macro and Open VB Editor
 
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

Bob Phillips

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




ron

Programmatically Halt Macro and Open VB Editor
 
On Mar 14, 9:17*am, "Bob Phillips" wrote:
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- Hide quoted text -


- Show quoted text -


Thanks Bob!


All times are GMT +1. The time now is 06:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com