I need to output information to an excel file. Later on I need to re-import this information to an other access97 - database.
So, I exported it using the command
DoCmd.OutputTo acOutputQuery, aqueri, acFormatXLS, ...
This worked fine.
My Problem is:
When I try to import this information back to a database with the command
DoCmd.TransferSpreadsheet acImport,acSpreadsheetTypeExcel97 ...
Access97 tells me, that it is unable to read the fileformat.
After opening the file with Excel and saving it in excel97 format, access97 reads the file perfectly.
Now my question: How can I set that acFormatXLS means excel97 - format?
So, I exported it using the command
DoCmd.OutputTo acOutputQuery, aqueri, acFormatXLS, ...
This worked fine.
My Problem is:
When I try to import this information back to a database with the command
DoCmd.TransferSpreadsheet acImport,acSpreadsheetTypeExcel97 ...
Access97 tells me, that it is unable to read the fileformat.
After opening the file with Excel and saving it in excel97 format, access97 reads the file perfectly.
Now my question: How can I set that acFormatXLS means excel97 - format?