I was going to reply with the same thing you posted, Megatron, but it almost seemed too obvious.

m.path,

If you know the error codes you can handle them anyway you want to in the error handler.

Code:
On Error Goto ErrHandler

ErrHandler:
   If Err.Number = <YOUR RUN TIME ERROR> Then
        'do whatever you want
   Else
        'do whatever
   End if