importing an entire excel workbook into access

G

Guest

How do I import a multi-sheet Excel workbook into my table in access? I have
set up a macro to do it, but it's not importing the whole workbook, just one
(or a few?) of the sheets. The data in the the woekbook is one big data set,
same fields but more rows that Excel allows - will be about 250,000 records
in all.
Thanks!
 
G

Guest

I assume you are using the TransferSpreadsheet method. It will only import
one sheet. Unless otherwise specified in the range argrument of
TransferSpreadsheet, it is going to import the first sheet.

Using Macros, this will be a little tedious. You will need a
TransferSpreadsheet for each worksheet in the workbook. Define the table you
want to import to and it will add the rows from each import to that table.
 

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