SteveL13
asked on
How import csv file into a table
I have this line of code which works fine for importing an Excel file into a table:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "tblTempImport", Me.FileList, True
But if the file is a csv file how do I code the line?
--Steve
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "tblTempImport", Me.FileList, True
But if the file is a csv file how do I code the line?
--Steve
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
DoCmd.TransferText TransferType:=acLinkDelim,
FileName:="C:\MyData.csv",