VBA Macro to Copy Paste and Autofill

VBA_Hunter

New Member
Joined
Jan 3, 2018
Messages
1
I have to go through excel files with multiple tables within one sheet, one after another, and copy and paste the name and unique ID of the table then paste, autofill to the side of it.

To lay it out more clearly, this is what I do manually. Copy the name and id of the first table in A3 and B3, then paste it into I5, and autofill down to I34. Then, repeat the process for the next table starting with the name and id in row 36 and pasting and autofill into I38 with same range dimensions as previous table. And repeat for the rest of the tables having the same dimensions until I get to the end.

How can I do it to automate this process?
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,214,924
Messages
6,122,293
Members
449,077
Latest member
Rkmenon

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