Ok here's the code i'm trying to use, however when run the Dir picks up the file name no problem, but then i get an Jet database Engine error telling me that it can't find the object 1.csv (which happens to be the file)
Function ImportCSV()
Dim ImportFile
ImportFile = Dir("d:\test\*.csv")
Do...
Hi guys, I am trying to import multiple .csv files into one table using DoCmd.TransferText acImportDelim, I have no problems with one csv file but I want it to loop so that the contents of a directory specified containing all .csv files are imported or appended.
Thanks in advance
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.