Either put an Exit Sub statement before the Error: block or put the MsgBox inside an If Err <> 0 ... End If block. Code execution is going right through your Error: block.

Signature
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
> Hello
> I have a fully working code but for some reason it still triggers the
[quoted text clipped - 23 lines]
>
> End Sub