I receive an error message of Can't append all the records in the append query. This is because the user has tryed to enter a duplicate ID number. My question is, I would like to replace the default error message with one of my own making. I can get my error message to come up if the user clicks on No from the default error message. I just would like to get rid of the default message. I still need to trap for the duplicate ID number, this is to let the user know, so using the Setwarnings False and then turning it on will not work. Thanks for any help.