I dont want to directly call the module handling function. I want to be invoked by the error eg.
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.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




Reply With Quote