Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
ron ron is offline
external usenet poster
 
Posts: 118
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
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



  #3   Report Post  
Posted to microsoft.public.excel.programming
ron ron is offline
external usenet poster
 
Posts: 118
Default 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!
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Halt A Macro If a Cell Contains a Certain Value John[_110_] Excel Programming 5 October 28th 05 08:50 PM
Q: Open VB - Editor from macro...? Andrew Excel Programming 3 September 25th 05 07:31 PM
Code to halt a macro floss Excel Programming 1 April 26th 04 08:22 PM
workbooks().open halt No Name Excel Programming 1 December 2nd 03 08:15 PM
Programmatically open / edit vba-editor hglamy[_2_] Excel Programming 1 September 4th 03 03:32 PM


All times are GMT +1. The time now is 05:50 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"