Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / March 2008

Tip: Looking for answers? Try searching our database.

Programmatically Halt Macro and Open VB Editor

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ron - 14 Mar 2008 16:03 GMT
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 - 14 Mar 2008 16:17 GMT
Insert

Stop

Signature

---
HTH

Bob

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

>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 - 14 Mar 2008 16:34 GMT
> Insert
>
[quoted text clipped - 13 lines]
>
> - Show quoted text -

Thanks Bob!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.