andrewpiconnect
asked on
Export Access 2007 Query to Excel 2007+
Hi,
I am trying to export the results of a query to excel so that i can use the excel sheet on my tablet pc.
However, when the excel sheet is saved to my pc it is in "2003-2007" format and this is not compatible with my tabet pc.
I need to change my code (below) so that the excel file is in a later format than 2003-2007.
Can anyone help please?
DoCmd.OutputTo acOutputQuery, "MSSL Customer Details", "Excel97-Excel2003Workbook (*.xls)", "", True, "", 0, acExportQualityPrint
I have also tried the following code but this is no good either:
DoCmd.OutputTo acQuery, "MSSL Customer Details", "MicrosoftExcel(*.xlsx)", "", False, ""
Many thanks
I am trying to export the results of a query to excel so that i can use the excel sheet on my tablet pc.
However, when the excel sheet is saved to my pc it is in "2003-2007" format and this is not compatible with my tabet pc.
I need to change my code (below) so that the excel file is in a later format than 2003-2007.
Can anyone help please?
DoCmd.OutputTo acOutputQuery, "MSSL Customer Details", "Excel97-Excel2003Workbook
I have also tried the following code but this is no good either:
DoCmd.OutputTo acQuery, "MSSL Customer Details", "MicrosoftExcel(*.xlsx)", "", False, ""
Many thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER