Good morning. I am currently exporting queries into an excel file using TransferSpreadsheet command.
An example of the line I use for a query is:
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12Xml, "qry_Metrics_Top_Ten_All_Corp1", "C:\SAP_Exports\Metrics_Data_PP.xlsx", True
Is there a way to export the query data to a specific tab and a specified location? Like: "C:\SAP_Exports\Metrics_Data_PP.xlsx", tab 1, A2,
An example of the line I use for a query is:
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12Xml, "qry_Metrics_Top_Ten_All_Corp1", "C:\SAP_Exports\Metrics_Data_PP.xlsx", True
Is there a way to export the query data to a specific tab and a specified location? Like: "C:\SAP_Exports\Metrics_Data_PP.xlsx", tab 1, A2,
Last edited: