I dont want to directly call the module handling function. I want to be invoked by the error eg.

Code:
Private sub MyModule()
'...code
On error goto errhandler
'...code
sp.ir=12 ' call to my object

exit sub

errhandler:

Msgbox "Something funny is going on in the Switch Pack object"

End Sub
I want it to work this way because I am making lots of calls to my object and dont want to have to check for an error every time I use a get or let property.