Excel to Access 2016 Macro

smartpat19

Board Regular
Joined
Sep 3, 2014
Messages
114
I need a excel macro to add records to an access 2016 database. I have tried using multiple sets of code and can't get it to work.

Access 2016 database name: Development Team
Table Name: Costs
*Headers are the same on access and excel*

Excel sheet:
Tab: Temp
[TABLE="width: 500"]
<tbody>[TR]
[TD]Date
[/TD]
[TD]Item 1
[/TD]
[TD]Item 2
[/TD]
[TD]Item 3
[/TD]
[/TR]
[TR]
[TD]9/1/2019[/TD]
[TD]$1,594,484[/TD]
[TD]$1,594,484[/TD]
[TD]$1,594,484[/TD]
[/TR]
[TR]
[TD]10/1/2019[/TD]
[TD]$1,594,484[/TD]
[TD]$1,594,484[/TD]
[TD]$1,594,484[/TD]
[/TR]
</tbody>[/TABLE]

What library do I need to import for Access 2016? Or is that optional?

Thank you!
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

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