Salut Benoît, when I work with vba (MS-Office programming) there it a very good feature, when an error raise with a MsgBox. You press [Ctrl]+[Pause] then you switch into debug mode, just at the line where the error occurred, a very handy feature. -- Amicalement Charlie