Automating the import file(s)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

My database is used for “importing†Excel reports, then running the “Find
Duplicate Query Wizardâ€. I was told I can automate the import of excel
files. I know how to "get external data", I built a macro but that pulls one
file at a time. I need the users to be able to go to a folder and then pick
which file they want. I need to build a form that will allow users to import
the file to a table. Then I can run the find duplicates.
I have tried a number of things, but it tells me file in use. Any
suggestions?
Thanks
 
First, you need the code to implement the Open File dialog. You can find it
at this site: http://www.mvps.org/access/api/api0001.htm

There is an example in the code that will show you how to use it. It will
return a complete path and file name which you can then use in your
TransferSpreadsheet.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top