Hi,
I am using the following code to import my spreadsheet into Access but I have a split database main.adb and main_be.mdb. How can I modify this code to put the data into the linked table?
Sorry to add to that. What is the file name is not all the same, how can I dynamically select my file?
I am using the following code to import my spreadsheet into Access but I have a split database main.adb and main_be.mdb. How can I modify this code to put the data into the linked table?
Code:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel7, "tblCustomerDetails", "myfile.xls", False,
Sorry to add to that. What is the file name is not all the same, how can I dynamically select my file?