comcu Posted September 4, 2008 Share Posted September 4, 2008 Hi, Is there away to freeze a vba project? sometime i dont want the project to work but i dont want to have to load and unload cheers, col Quote Link to comment Share on other sites More sharing options...
CmdrDuh Posted September 4, 2008 Share Posted September 4, 2008 we need a little more info. Is it trying to run every time you open a dwg or close a dwg or what? Quote Link to comment Share on other sites More sharing options...
rocheey Posted September 5, 2008 Share Posted September 5, 2008 put this in your form.initialize event do:loop that should freeze it up right. Quote Link to comment Share on other sites More sharing options...
ML0940 Posted September 6, 2008 Share Posted September 6, 2008 If your code is Event driven, the below lines will work if put in the right place. ML Application.EnableEvents = False Application.EnableEvents = True Quote Link to comment Share on other sites More sharing options...
comcu Posted September 9, 2008 Author Share Posted September 9, 2008 Thank you. I will try to implement you suggestions. cheers, col Quote Link to comment Share on other sites More sharing options...
ML0940 Posted September 9, 2008 Share Posted September 9, 2008 Hey Col, I apologize, Application.EnableEvents = False and Application.EnableEvents = True are applicable in Excel but evidentially, not available in ACAD. That's ashame, that method can be very useful. I'm not sure how to suppress events in ACAD I'm sure a Google search could provide some incite. ML Quote Link to comment Share on other sites More sharing options...
ML0940 Posted September 9, 2008 Share Posted September 9, 2008 Also, You never clarified what you meant by freeze a project? ML Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.