What I am trying to do is replace one system error descrption with my error description. I was hoping to capture the error code that says"The cell or chart that you are trying to change is protected and therefore read only." I am guessing but this appears to be a system generated respone. I though if I could capture the error number I could by pass the message and exit the sub but I can't seem to get the error number code.
If ActiveSheet.ProtectContents = True And ActiveCell.Locked = True Then
MsgBox "That cell is protected and cannot be changed!"
On Error GoTo errNumber