M
Melanie O
What is the code for a user to specify the path and filename that will be
imported into Access from an Excel spreadsheet using the TransferSpreadsheet
method?
Example:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "tbl_test1",
strLocation, False, "A1:B20"
I would like the strLocation variable to equal the value of the text box on
a form that the user enters (ideally a path name: "C:\Survey.xls").
Thanks,
Melanie
imported into Access from an Excel spreadsheet using the TransferSpreadsheet
method?
Example:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "tbl_test1",
strLocation, False, "A1:B20"
I would like the strLocation variable to equal the value of the text box on
a form that the user enters (ideally a path name: "C:\Survey.xls").
Thanks,
Melanie