+ Reply to Thread
Results 1 to 12 of 12

How to Check EnableEvents status without using VBA

  1. #1
    Forum Contributor
    Join Date
    08-02-2007
    Location
    Panama & Austria
    MS-Off Ver
    2003 & 2010
    Posts
    186

    How to Check EnableEvents status without using VBA

    Hi !
    Is there any way to check the EnableEvents status without using any VBA code? Can I go to some menu/option/etc and see its status?

    Like when you set application.calculation=xlManual you can go in Excel to the menu Extra->Option and in the tab [Calculation] you can see its status.

    Thanks very much !
    Last edited by Wizz; 05-26-2010 at 08:27 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: How to Check EnableEvents status without using VBA

    I don't believe so, no.

  3. #3
    Valued Forum Contributor tony h's Avatar
    Join Date
    03-14-2005
    Location
    England: London and Lincolnshire
    Posts
    1,187

    Re: How to Check EnableEvents status without using VBA

    Not that I know of (out of the box).
    But you could create a button or menu itemetc which displayed/changed/switched the status.


    click on the * Add Reputation if this was useful or entertaining.

  4. #4
    Forum Contributor
    Join Date
    08-02-2007
    Location
    Panama & Austria
    MS-Off Ver
    2003 & 2010
    Posts
    186

    Re: How to Check EnableEvents status without using VBA

    Oh Dear !
    Thanks for the info.

  5. #5
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: How to Check EnableEvents status without using VBA

    Please Login or Register  to view this content.

  6. #6
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,064

    Re: How to Check EnableEvents status without using VBA

    I'm pretty sure that's VBA...
    Everyone who confuses correlation and causation ends up dead.

  7. #7
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: How to Check EnableEvents status without using VBA

    Just a thought,

    Is it possible that the macro security level controls/determines this situation, unless it has been altered by VBa?

    Have you run some code that disabled events and failed to re-enable after running, hence you need to know the status?

  8. #8
    Forum Contributor
    Join Date
    08-02-2007
    Location
    Panama & Austria
    MS-Off Ver
    2003 & 2010
    Posts
    186

    Re: How to Check EnableEvents status without using VBA

    Quote Originally Posted by Marcol View Post
    Just a thought,
    Have you run some code that disabled events and failed to re-enable after running, hence you need to know the status?
    Thats right Marcol.
    One user is having repeatedly his EnableEvents set to false. That person uses many excel sheets(all with macros).
    Unfortunately in that persons excel I can NOT ad an add-in nor modify the persnoal.xls nor any other VBA coded solution.
    So far, being able to check (without any VBA code) the Enable events status would help a lot.

  9. #9
    Forum Contributor
    Join Date
    08-02-2007
    Location
    Panama & Austria
    MS-Off Ver
    2003 & 2010
    Posts
    186

    Re: How to Check EnableEvents status without using VBA

    [QUOTE=Marcol;2313655]Just a thought,
    Is it possible that the macro security level controls/determines this situation, unless it has been altered by VBa?
    QUOTE]

    I guess not. As far as I know, the security level will enable/disable/ask for macros as a whole. If you choose not to allow then no macro at all will work.

  10. #10
    Forum Contributor
    Join Date
    08-02-2007
    Location
    Panama & Austria
    MS-Off Ver
    2003 & 2010
    Posts
    186

    Re: How to Check EnableEvents status without using VBA

    @snb: Thanks for your time anyway!

  11. #11
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: How to Check EnableEvents status without using VBA

    Yes I didn't mean that the macro security level would show you the status.

    The most common reason for EnableEvents to be disabled, is probably in the Worksheet_Change Event

    If there is no error trapping then Events are not reset.

    Another common source is when a sub is exited to comply with some rule or another.

    I'm sorry there is only one way to deal with this, Fix the error at source, or live with it.

    Best of luck!!!

  12. #12
    Forum Contributor
    Join Date
    08-02-2007
    Location
    Panama & Austria
    MS-Off Ver
    2003 & 2010
    Posts
    186

    Re: How to Check EnableEvents status without using VBA

    And again.....Oh Dear !! (I control only one of the workbooks that that person uses).

    But Thank you all for the help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1