I have an issue where I cannot raise runtime errors that occur is class modules up to the calling procedure.
I have tried the following:
- set VBA option to break on unhandled errors
- Error handling is implemented everywhere (including class modules - note that when an error occurs in a class module, the control shifts to the ErrHandler and there I invoke the err.raise method to raise the error up the call stack)
I have also tried to programmatically set the registry value to 'break on unhandled errors' for TestPartner, but this does not work as the application probably requires to be rebooted.
Any ideas? Is it even possible to raise a runtime error from a class module to a calling procedure?