DoCmd.TransferSpreadsheet Export: Let user choose save destination?
问题 I successfully run TransferSpreadsheet to export an Access query to an Excel file at a specified location: Private Sub cmdExportQuery_Click() DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12, "trndOTQry", _ "\\company.com\root\share\public\D2S\D2S\D2S_Scorecard\Trend OT.xls" End Sub Given that this is a shared file, I want a dialog to open that allows the user to select whatever save destination he chooses. I found this link with a good solution that references this article. When