Is it enough to insert the On Error GoTo XXXXX procedure at the begining of every sub, in order to trigger XXXXX whenever an error occurs?