Move data from spreadsheet to access

stapuff

Well-known Member
Joined
Feb 19, 2004
Messages
1,126
Looking for a way to move data from excel spreadsheet to access table. I understand the import option, but the data doesn't present itself very well to do it that way.

Row 2 is the "Header" row

Row 3 - 6000 is the data

Column A:J and W:AH need to be written to every row of the table

At this point is where I am having problems Column K:V and AI:AT are month columns
K - V = Jan, Feb, Mar, Apr, etc Data
AI & AT = Jan, Feb, Mar, Apr, etc Data

so the macro I would need would write the following

A3:J3, K3, W3:AH3, AI3 as the first record
A4:J4, K4, W4:AH4, AI4 all the way down to A6000:J6000, K6000, W6000:AH6000, AI6000

then proceed to

A3:J3, L3, W3:AH3, AJ3 as the first record
A4:J4, L4, W4:AH4, AJ4 all the way down to A6000:J6000, L6000, W6000:AH6000, AJ6000


Any suggestion would be helpful.

Stapuff
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Forum statistics

Threads
1,224,599
Messages
6,179,831
Members
452,946
Latest member
JoseDavid

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