There are many more qualified to help, than me (and hopefully
someone will jump in) .......however, here goes:
Make sure all your testing is done with COPIES of your data!
> Will I be able to do this with excel files?
the line: strfile = Dir("FileName*.*")
defines the filetype to be copied (in this case any file,
as intended, because of the use of wildcards).
For Xl, files you could use
strfile = Dir("FileName*.xls") ie any file in the folder
with an xls extension.
Look in Access Help (VBA) for the use of 'TransferSpreadsheet'
and associated required/optional arguments etc. There are several
examples.
Perhaps a suitable Google search might elicit further examples?
You must consider whether you will use Access VBA to import
from Excel, or Excel VBA to export to Access. Whichever, I believe
ADO is the preferred method (rather than DAO).
Hope this is a help (expect others to correct my advice, if need be).
Regards.
> Will I be able to do this with excel files?
> >-----Original Message-----
[quoted text clipped - 47 lines]
> >
> >.