User defined filename for DoCmd.TransferSpreadsheet?
My colleagues can't be trusted to import the data into a table using file->get external data -> import!
Everything works using:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "tablename", "Excelfilename", True
But can I get a dialog box up for "Excelfilename" so that they can browse to a file? Or is there another way?
Many thanks.
My colleagues can't be trusted to import the data into a table using file->get external data -> import!
Everything works using:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "tablename", "Excelfilename", True
But can I get a dialog box up for "Excelfilename" so that they can browse to a file? Or is there another way?
Many thanks.
Last edited: