Hi,
I would like to insert data from excel to access table. This is the code that I use to write data from excel to access
But how to update if record already exist in access table, and if it is not exist, then insert directly?
Best regards,
Sophanna
I would like to insert data from excel to access table. This is the code that I use to write data from excel to access
Code:
DoCmd.TransferSpreadsheet acImport, , tableName, filePath, True, range:="Sheet1!A:" & endCol
Best regards,
Sophanna
Comment