I have to add a step to kill the last import of the file. Essentially, it will replace the existing table in the import. Do I use the kill file code?
Code is as follows:
DoCmd.TransferSpreadsheet acImport, 10, _
"Portal Mail List", CurrentProject.Path & "\Portal Mail List.xlsx", True
MsgBox "Data import completed", vbInformation, "Completed"
Code is as follows:
DoCmd.TransferSpreadsheet acImport, 10, _
"Portal Mail List", CurrentProject.Path & "\Portal Mail List.xlsx", True
MsgBox "Data import completed", vbInformation, "Completed"