G
Guest
I have an Excel file that was exported from my database using the
DoCmd.SendObject method, which pulls from a query (the query cleans out
some junk).
i.e.
DoCmd.SendObject acSendQuery, "qrySupplierParts", acFormatXLS,
rsQuery![email address]...
I want to be able to import that data file as well. I am using the
DoCmd.TransferSpreadsheet acImport method, but when I try to import the
Excel file, it gives an error. I am certain this is because the Excel
file was generated by a query, because I tried exporting from the same
table using SendObject and using TransferSpreadsheet to import successfully.
Any idea how I can force Access to import the data which was created by
the query export into my table?
DoCmd.SendObject method, which pulls from a query (the query cleans out
some junk).
i.e.
DoCmd.SendObject acSendQuery, "qrySupplierParts", acFormatXLS,
rsQuery![email address]...
I want to be able to import that data file as well. I am using the
DoCmd.TransferSpreadsheet acImport method, but when I try to import the
Excel file, it gives an error. I am certain this is because the Excel
file was generated by a query, because I tried exporting from the same
table using SendObject and using TransferSpreadsheet to import successfully.
Any idea how I can force Access to import the data which was created by
the query export into my table?