need VBA code to load data to ACCESS

srinivas_p

New Member
Joined
Feb 17, 2007
Messages
24
Hello All,

I have data in my excel file which contains four sheets, these sheets data needs to be loaded into different tables into MS Access, Need to develop VBA code in excel for this.

Thanks & Regards
Sri
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Have you considered importing the data into Access manually or creating linked tables which reference the worksheets directly?

When you say you need to develop the code, do you actually want to write the code yourself or do you want someone to write it for you?
  • If the former, show us what you have already.
  • If the latter, you'll need to state the names of the tables and list the names of the fields in each of the tables. It will also be helpful to see a sample of the data in each worksheet. When posting sheet samples, review the message before posting to ensure it's deciipherable.
Do the tables already exist or do they need to be created?
  • If the tables already exist, do you want to append the data to them or overwrite them?
  • If they need to be created, what are the data types of each of the fields?
What version of Office are you using?

What is your level of VBA expertise?
 
Upvote 0
Hi,

Thanks for Replying,

I'm good at VBA Programming in Excel not much expertise in MS Access VBA,

For Your Questions

1) Tables already exists, want to append the data to them or overwrite them from Excel sheets by using excel VBA Code, need a code to interact with MS Access.

Thanks & Regards
Sri
 
Upvote 0

Forum statistics

Threads
1,224,524
Messages
6,179,310
Members
452,906
Latest member
phanmemchatdakenhupviral

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