Excel 2010 application.screenupdate = false turns events off?

Hi experts,

This is more an observation for the public realm, but I am interested if anyone else has experienced this?

I had a machine (only happened on 1) that the line "Application.ScreenUpdating = False" appears to have turned off the Application.EnableEvents and I need to put the line Application.EnableEvents = True after the line Application.ScreenUpdating = True

LVL 1
Craig LambieAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

zorvek (Kevin Jones)ConsultantCommented:
That should not happen. Do a search through all your code for Application.EnableEvents = False and I'll bet there is one or more and it was triggered.

Kevin
0
Craig LambieAuthor Commented:
Hi Kevin,

I did that search. Nothing.
Also I looked for anything that could set it off.

Funny thing was that it only happened on one particular machine, not on any others.

C
0
zorvek (Kevin Jones)ConsultantCommented:
It could also have been another workbook or add-in that cause the property change. But it should not have happened with your code as it is.

Kevin
0
zorvek (Kevin Jones)ConsultantCommented:
Something to try: debug your code on the problem box. Use this version and step through the code to see exactly what happens and when:

Debug.Print Application.EnableEvents
Application.ScreenUpdating = False
Debug.Print Application.EnableEvents

You can see the Debug.Print results in the Immediate window.

Kevin
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Craig LambieAuthor Commented:
I am back with this client in a couple of days, I will try that on their machine.  Is most likely your first post as they used quite a few plugins, but no non standard ones as far as I could tell.

C
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.