Import Excel into Access Macro

PanzerAttack

Board Regular
Joined
Jan 3, 2008
Messages
197
How can I automate importing some files from Excel into Access.

The TransferSpreadsheet Macro Action doesn't allow me to select the range for some reason.

In Tables New - Import Table works perfectly

How can I automate this way of importing Tables to import 200 tables directly from Excel.

I found this

http://www.databasedev.co.uk/text-import-macro.html

which looks ideal but I can't see a way to save it when I Import Excel (no Advanced tab).

Any ideas? I'm sure I'm missing something obvious.
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
64,005
Office Version
  1. 365
Platform
  1. Windows
The TransferSpreadsheet Macro Action doesn't allow me to select the range for some reason.
I usually use named ranges, and this seems to work quite well.
 
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,208
Messages
5,857,918
Members
431,907
Latest member
RNN

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