hello, i've looked around the site and found a way to export my queries to excel with this code:
but i still want to filter my queries before i export them, ether that or i need to make a button that exports the filtered data in forms and reports just like the one in the "external data" menu.
Thank you for your help.
Code:
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel7, "tblDepartments", "C:\Test1.xls", False
but i still want to filter my queries before i export them, ether that or i need to make a button that exports the filtered data in forms and reports just like the one in the "external data" menu.
Thank you for your help.