Share via

Application.EnableEvents is FALSE by default

Anonymous
2015-06-11T21:36:09+00:00

I encountered an Excel 2010 on Win 7 machine where the default value of Application.EnableEvents is FALSE.

It shows FALSE in the Immediate Window as below:

?Application.EnableEvents

False

This behaviour happens before opening any workbook, and it persists even after forcing it to true and then closing Excel and re-opening it.

I disabled all add-ins without any effect.

This behaviour is so strange because on any other machine, the default is TRUE and even switching it to FALSE does not persist to subsequent Excel launch.

This property is not available on Excel options and can only be changed by code.  What could switch it to FALSE?

Thanks,

Dovy

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2015-10-15T19:57:46+00:00

    I have the same issue and I'm using Excel 2013. One of my users has all his spreadsheets opening with Application.EnableEvents set to FALSE, but it is set to TRUE for everybody else. I've tried everything with no luck! Very frustrating!

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2015-06-12T14:03:06+00:00

    Excel started in safe mode, all add-ins are disabled and there is no Personal macro book anywhere.

    Excel still opens with EnableEvents as FALSE.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2015-06-11T22:55:29+00:00

    Hello,

    do you have any add-ins or a Personal.xls file that may be running code that you are not aware of?

    Try opening Excel in Safe Mode, so no add-ins are applied. (Close Excel, then hold the Ctrl key down while clicking Excel on the  Start Menu).  Are Events still disabled?  If not, then there is some code at work. Disable all add-ins and bring them back one by one. Check after each add-in until you find the culprit.

    Was this answer helpful?

    0 comments No comments