G
Guest
Hi,
I'm using the following code to import data into a table. It works fine at
the moment but I would like to alter it to be able to select from a 'File
Open' dialogue box.
Just to make it a little more challenging can it default to the location
"G:\06_ip\Rainchecks\"?
DoCmd.TransferSpreadsheet acImport, _
acSpreadsheetTypeExcel9, _
"Tbl_Raincheck_Data_With_Comments", _
"G:\06_ip\Rainchecks\March\Rainchecks All Data Thu 300306 - Sun
020406.xls", _
True, _
"Data_With_Comments"
I'm using the following code to import data into a table. It works fine at
the moment but I would like to alter it to be able to select from a 'File
Open' dialogue box.
Just to make it a little more challenging can it default to the location
"G:\06_ip\Rainchecks\"?
DoCmd.TransferSpreadsheet acImport, _
acSpreadsheetTypeExcel9, _
"Tbl_Raincheck_Data_With_Comments", _
"G:\06_ip\Rainchecks\March\Rainchecks All Data Thu 300306 - Sun
020406.xls", _
True, _
"Data_With_Comments"