How to load Excel file for appending to table

stoolpigeon

Registered User.
Local time
Yesterday, 19:24
Joined
Apr 23, 2013
Messages
12
I've successfully used, as an example, the following:

DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, _
"MyTable","C:\MyFile.xls", True, "A1:B2"

However what I really need is to be able to prompt the user to find the file rather than specifying it in the code.

Really what I'm looking for is the Access equivalent of Excels getopenfilename().

Thanks for any help.
 

Users who are viewing this thread

Back
Top Bottom