Gave that a try and while it reduced the sheets to 2 they both had data on them and some data errors (#VALUE). Thought I'd give it another run just in case and voila!, 1 sheet, no errors.
Thanks for your assistance!
Yes, I've even tried acSpreadsheetTypeExcel8 and acSpreadsheetTypeExcel10 but to no avail.
On a side point I've still be unable to ascertain exactly what the differences are between these even from the MS site.
Hi
I am trying to export a query from Access 2003 to Excel 2003 that has over 17000 lines and I am trying to use the TransferSpreadsheet command as below.
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "{query name}", "{file path}"
The spreadsheet is created but has 3 sheets...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.