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

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

mdmilner

Well-known Member
Joined
Apr 30, 2003
Messages
1,352
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
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,037
Messages
5,856,967
Members
431,843
Latest member
Malahhai

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
Top