Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Object does not source automation events

Status
Not open for further replies.

JTBorton

Technical User
Jun 9, 2008
345
DE
Excel 2007
I'm suddenly getting a compile error that says,
"Compile Error:"
Object does not source automation events."

I'm not sure why I am suddenly getting this error, because things have been running smoothly until now. Objects that do not have events usually just never listed any events. But now Excel is fussing at me. Can anyone tell me what setting I might have changed? The declaration is made in a class module, so it's not an issue of location.

Code:
Private WithEvents itmsDAItemColl As OPCItems

-Joshua
Well, You can try banging your head against the wall, but you just end up with lost-time injuries and damaged equipment. [M. Passman]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top