For some reason the error handing in a macro enabled workbook is not picking up when there is an error and dealing with it using an error handling code.
The lines are>
On Error GoTo err_Assignments
Worksheets(“ASSIGNMENTS”).Activate
Because the ASSIGNMENTS worksheet does not exist then I should be trapping this error and seeing a separate message to say the error has occurred
The error handling is for now
err_Assignments:
MsgBox Err.Number & ” – ” & Err.Description
It doesn’t catch the error and it throws the Run-time error ‘9’:
Subscript out of range
I tried on error resume next but still the runtime error is being displayed
Have I missed a new setting in 2013?
thanks
alan