You can add these error handlers before you do the doc.send():
On Error Goto HandleError On Error 4294 Resume Next On Error 4295 Resume Next On Error 4000 Resume Next On Error 4160 Resume Next