Multiple Excel files into Access

D

D Zandveld

Hi

I have a series of Excel spreadsheets (only 1 worksheet in each, so they can
be .csv or .xls) that I want to import into an Access table one under the
next.

I want the user to be able to click the button, select the files to import,
and put the data into a pre-determined table (Vendor Data) one under the next.

Before they come in, i'd like to strip out the header record as well.

Where do I start?
 
K

Klatuu

First, here is a link to an API you can use to allow users to select a file
to import:

http://www.mvps.org/access/api/api0001.htm

Now, to import multiple worksheets into one table, link to the worksheet
rather than import it. Then use an append query to copy the records from the
linked worksheet to you table. Then drop the link and get the next file.
 

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

Top