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
 

Some videos you may like

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

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
 

Watch MrExcel Video

Forum statistics

Threads
1,122,962
Messages
5,599,065
Members
414,281
Latest member
Engjamal2021

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