looping all sheet in all workbook to all sheets in workbook master

juninawan

New Member
Joined
Oct 26, 2015
Messages
6
i want looping all workbook book1,book2,book3,book4 and workbook master.xlsm (total 5 workbook)
in 5 workbook contain sheets : sheet1,sheet2,sheet3 sheet4
i want
step 1...book1.sheet1.range(M & lastrow) copy to master.xlsm sheet1 range(K10)
book1.sheet2.range(M & lastrow) copy to master.xlsm sheet2 range(K10)
until book1.sheet4.range(M & lastrow) copy to master.xlsm sheet4 range(K10)
step 2 book2.sheet1.range(M & lastrow) copy to master.xlsm sheet1 range(K11)
book2.sheet2.range(M & lastrow) copy to master.xlsm sheet2 range(K11)
..more again looping book1.sheet4 and book4 from sheet1 to sheet4 to Master.xlsm
dst...
until step 4 please help me
 
Last edited:

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Forum statistics

Threads
1,223,162
Messages
6,170,432
Members
452,326
Latest member
johnshaji

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