Copying and Pasting Data from Several Workbooks

tobermory

New Member
Joined
Jun 4, 2012
Messages
46
Hello there,

I have 7 spreadsheets in folder S:\MHS\Review

I would like to copy and paste the data from these 7 spreadsheets to a master file (which ideally would be the 8th spreadsheet in the same folder).

Very basically...

Range("A1").Select
Range(Selection, ActiveCell.SpecialCells(xlLastCell)).Select

copy and paste to master file

Each spreadsheet is about 200 rows, so the second set of data can be dumped below the first set of data and so forth.

I'd be capable of this, if the 7 spreadsheets had the same constant file names, however the file names do change to reflect new versions. All of the sheets are named Sheet1 within the 7 spreadsheets.

Would someone be generous enough to provide me with some code that could do this?

Many Thanks
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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