I have a routine that imports a large amount of data from multiple spreadsheets. Occasionally an import error occurs so Access creates an import errors table for that particular spreadsheet. I need to identify the spreadsheets which cause the errors so I thought I could add a line that would check for the existence of the import errors table after each loop and if found I would use a message box to give the name of the spreadsheet. I tried to adapt the code Hans wrote in another post relating to this but I have not been successful.
How can I detect the import errors table?