TransferSpreadsheet

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to export data from a query to excel but I need the 'save as'
dialog box to prompt the user for a file name.


DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel3, "qryExcel",
"C:\Archive\FileName.xls", True

TIA,
Duncan
 
Back
Top