none
Error message which goes away after I comment out 'On Error ...' clause RRS feed

  • Question

  • I got this error from an app that has been functioning fine with no changes being made for months.

    "The expression On Exit you entered as the event property setting produced the following error: Object or Class does not support the set of events"

    The error appeared as soon as the form was opened.

    Since I have absolutely no idea what MS is trying to say (convoluted error messages appear to be their speciality), I went into the module and uncommented the 'On error' clauses from 'open' and 'load' events and the first sub to be called, hoping to find the offending statement.

    This made the error disappear.

    Has anyone any idea what may have caused this?

    The form involved populates and manipulates a tree view so the code is somewhat unusual.

    Monday, March 7, 2016 9:58 PM

Answers

All replies