Have a form to select a file and import data record from EXCEL and put in Access tbl. Have code installed to prevent importing a record already brought into Access. How do I block error msg telling me "Cannot add record..... etc." Don't know the code # for the error msg.