I have sometimes ImportErrors during the import of Excel file to my Access table and using:
Domd.DeleteObject acTable, "File1$_ImportErrors" to delete the errors.
But if there is no error occured, I will get an error message saying that Access cannot find the Object ImportErrors and stop doing the rest of the process.
How can I program that if this ImportError is not found, it goes to the next command. Thanks
Domd.DeleteObject acTable, "File1$_ImportErrors" to delete the errors.
But if there is no error occured, I will get an error message saying that Access cannot find the Object ImportErrors and stop doing the rest of the process.
How can I program that if this ImportError is not found, it goes to the next command. Thanks