Object does not source Automation events

An object must provide a default source interface so that you can write event procedures for its events. This error has the following causes and solutions:

  • You tried to write an event procedure for an event of an object, but that event isn't available outside the object. See your object's documentation for suggestions on less direct ways to deal with the event you are interested in.

For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.