D
dbsavoy
I've got 200+ excel spreadsheets (.csv) and I need to move them into one
access db to run pivottables. Excel does not have enough rows.
Douglass J. Steele wrote in a prior message:
Please help me to edit the code above to process all CSV's into one DB...
I am not a programmer and only understand basics. I know I should copy the
code into a "Module"... and then I don't know the next step...
Thanks!
access db to run pivottables. Excel does not have enough rows.
Douglass J. Steele wrote in a prior message:
Dim strFolder As String
Dim strFile As String
Dim strTable As String
strFolder = "C:\Some Folder\"
strFile = Dir(strFolder & "*.csv")
Do While Len(strFile) > 0
' Strip the .csv from the end of the file name
strTable = UCase(Left$(strFile, Len(strFile) - 4)
DoCmd.TransferText acImportDelim,, strTable, _
strFolder & strFile, True
strFile = Dir()
Loop
Please help me to edit the code above to process all CSV's into one DB...
I am not a programmer and only understand basics. I know I should copy the
code into a "Module"... and then I don't know the next step...
Thanks!