G
g
Hi Experts,
This button in my form should execute this on click event but the problem is
it is not happening. I'm thinking that I need to run this query first before
this event happen.
If I use OpenQuery it will open the query & I don't wan't that, I only need
to export to excel what ever the result of this query.
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel8, "MyQuery",
"C:\Temp\MyQuery", True
Thank you in advance
This button in my form should execute this on click event but the problem is
it is not happening. I'm thinking that I need to run this query first before
this event happen.
If I use OpenQuery it will open the query & I don't wan't that, I only need
to export to excel what ever the result of this query.
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel8, "MyQuery",
"C:\Temp\MyQuery", True
Thank you in advance