I have process in access 2007 that opens up multiple excel files and reads a sheet called "test". Loads some data into a access table. I am trying to add code to my function, if the sheet "test" does not exist in the workbook close down the function an go to the next workbook. I receive an error if the sheet does not exist in the workbook. I have attached my function below.