Jump to content

Recommended Posts

Posted

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

Posted

we need a little more info. Is it trying to run every time you open a dwg or close a dwg or what?

Posted

put this in your form.initialize event

 

do:loop

 

that should freeze it up right.

Posted

If your code is Event driven, the below lines will work if put in the right place.

ML

 

Application.EnableEvents = False
Application.EnableEvents = True

Posted

Thank you.

 

I will try to implement you suggestions.

 

 

 

cheers,

 

col

Posted

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

Posted

Also,

You never clarified what you meant by freeze a project?

 

ML

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...