Hi All
I want to use the following code to import a spreadsheet
DoCmd.TransferSpreadsheet acImport, 8, "Yourtablename", "filepath of spreadsheet", True, "Sheet2!A1:E273"
Is it possible to change the "your table name" to pop up a dialog box to locate the file??
your help is much appreciated
thanks
Ali
I want to use the following code to import a spreadsheet
DoCmd.TransferSpreadsheet acImport, 8, "Yourtablename", "filepath of spreadsheet", True, "Sheet2!A1:E273"
Is it possible to change the "your table name" to pop up a dialog box to locate the file??
your help is much appreciated
thanks
Ali