MSAccess - Automatic excel file upload (1 Viewer)

akika

Registered User.
Local time
Yesterday, 19:39
Joined
Aug 7, 2018
Messages
102
Hi,
I want to automatically load multiple excel files save in one folder to respective access tables:

customers.xlsx (id, name, address, street, phone, email)
sales.xlsx (sales id, description)
product.xlsx (product_id, product_name, comments)
orders.xlsx (order_id, order_date, order_by)

Excel & tables are same format.

Can you pls advise to automate the loading of all files, with an access sample if possible.
Txs
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 10:39
Joined
May 7, 2009
Messages
19,246
why not just Link the xlsx files?
after linking, you create an Insert query that will
insert records from the Linked xlsx file to your table.
 

akika

Registered User.
Local time
Yesterday, 19:39
Joined
Aug 7, 2018
Messages
102
why not just Link the xlsx files?
after linking, you create an Insert query that will
insert records from the Linked xlsx file to your table.
do u have a sample for how to do it pls?
 

Uncle Gizmo

Nifty Access Guy
Staff member
Local time
Today, 03:39
Joined
Jul 9, 2003
Messages
16,302
I answered a similar question in 2008, see here:-


Might offer some inspiration...
 

Users who are viewing this thread

Top Bottom