M
Miri
Can anyone tell me how to import multiple files into an
Access 2000 db. I have over 100 files I need to import.
Thanks.
Access 2000 db. I have over 100 files I need to import.
Thanks.
Loop
End Sub
-----Original Message-----
This will import into the table named JIM. If it doesn't
exist the first import will create it. I hope this will help.
This creates the tables with the same name as in the
directory C:\testimport\ without the ".xls" without the xls
Private Sub Command0_Click()
Dim filename As String
filename = Dir("c:\testimport\*.*")
Do Until filename = ""
DoCmd.TransferSpreadsheet acImport, 8, "JIM",
"c:\testimport\" & filename, True, ""
filename = Dir
Loop
End Sub
Jim
.
can get it to work. Is this a module I would create? I-----Original Message-----
This is a function I would really like to use, however I