P
Paul
I have three queries and I want to export them to Excel in one Excel
workbook or in seperate workbooks in a Excel file. I know the code to export
one query to Excel as follow:
DoCmd.OutputTo acQuery, "Qry_1", "MicrosoftExcelBiff8(*.xls)",
"C:\\Export\Query_1.xls", False, "", 0
I wonder if I can do this.....
DoCmd.OutputTo acQuery, "Qry_1" & "Qry_2" & "Qry_3",
"MicrosoftExcelBiff8(*.xls)", "C:\\Export\Query_All.xls", False, "", 0
workbook or in seperate workbooks in a Excel file. I know the code to export
one query to Excel as follow:
DoCmd.OutputTo acQuery, "Qry_1", "MicrosoftExcelBiff8(*.xls)",
"C:\\Export\Query_1.xls", False, "", 0
I wonder if I can do this.....
DoCmd.OutputTo acQuery, "Qry_1" & "Qry_2" & "Qry_3",
"MicrosoftExcelBiff8(*.xls)", "C:\\Export\Query_All.xls", False, "", 0