Data copy paste from different files to master sheet - Vba code reqiured

harinsh

Active Member
Joined
Feb 7, 2012
Messages
273
Hi All,

I have one typical task which need to complete by using macro.

I have around 100's of excel files (note each file has only one sheet but names differs from file to file). I want to copy the each file sheet and paste it in master sheet and it should get paste one by one as like for example if you paste cells till A20 then next copy should start from A22 (one row should be empty from one file data to another).

The macro should automatically open the file and copy the data and paste it into master sheet then it should close. So, that I can use this to complete the all files.

Your inputs on this very helpful for me.

Thank you.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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