D
digital_dawg
Guest
I have an Access database with 4 simular (structure is the same, data and name are different) tables I want to export to Excel. On a form in Access, I have a form with 4 command buttons. I can get 2 tables exported with no problem at all. But when I go to export the other 2, I get the following error:
"The Microsoft Jet database engine could not find the object ". Make sure the object exists and that you spelled its name and the path correctly."
I know this has something to do with file name or path, but I can't find the mistake. When I wrote the code, I wrote the transferspreadsheet code for 1 command button and tested it to make sure it worked. Once I got it to work, I just copied and pasted and changed the names where necessary. It amazes me that 2 of them work and the other 2 don't. This has really got me FRUSTRATED !!
Any ideas ??
Thanks
"The Microsoft Jet database engine could not find the object ". Make sure the object exists and that you spelled its name and the path correctly."
I know this has something to do with file name or path, but I can't find the mistake. When I wrote the code, I wrote the transferspreadsheet code for 1 command button and tested it to make sure it worked. Once I got it to work, I just copied and pasted and changed the names where necessary. It amazes me that 2 of them work and the other 2 don't. This has really got me FRUSTRATED !!
Any ideas ??
Thanks