Import multiple spreadsheet into Access

zack

New Member
Joined
Jul 8, 2003
Messages
2
We have 50+ spreadsheet to import to access monthly. Instead of using Get External Data > Import 50+ times, is there a better way to automate the process ? Also, I discover that if you don't name the data range in Excel, you tend to get a lot of blank records imported. Anyway of solving these problems ?

Thank you
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Try this:

http://www.mrexcel.com/board2/viewtopic.php?t=74599&highlight=

That will let you automate the import process by opening an Open File dialog window to pick a directory and have it import the entire thing. Lots of potential for cleanup depending on what you want to do.

As to named ranges and empty cells. Only two options that I see. Either open the sheets and walk thru each cell and parse them into a table, or import then write queries or VBA to manipulate (clean up) the data removing unwanted records.

The latter, import then clean up via VBA/SQL is probably easiest.

Mike
 
Upvote 0

Forum statistics

Threads
1,217,317
Messages
6,135,836
Members
449,965
Latest member
Ckl43

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top