I'm trying to pull in a table from Excel into Access but am running into a ton of data type errors. The dates, which are formatted as dates in Excel, just transfer over as text, etc. Is there a way to simplify this proccess and ensure data is transferred accurately?
The code I'm using as as simple as the following:
Code:
Sub test()
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel8, "TABLE NAME", "FILE LOCATION\FILENAME.xls", True
End Sub
Better yet, if it would only import whatever rows whose first column entry was contained the word 'Final' would be even more ideal.
Any help would be great.
Regards,
Travis