Copying and Pasting Cells from Different Sheets to One

Jimmmy

New Member
Joined
Nov 29, 2010
Messages
25
Hello all! I need some help! Please!

I have the following, thus far:
Range(Selection, ActiveCell.SpecialCells(xlLastCell)).Select
Selection.Copy
Sheets("Sheet1").Select

ActiveSheet.Paste

What I'm doing is selecting all active cells with data and copying it to "Sheet1". The data is coming from four sheets, which for this is example will be called, "Large", "Medium", "Small" and "Other".

What I need help with is, on Sheet1, I need to copy and paste the selected data from "Large", then paste the selected data from "Medium" beneath "Large", then paste the selected data from "Small" beneath "Medium", and then finally, paste the selected data from "Other" beneath "Small".

Any help would be greatly apprciated! Thank you in advance!
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Try

Code:
Range(Selection, ActiveCell.SpecialCells(xlLastCell)).Copy Destination:=Sheets("Sheet1").Range("A" & Rows.Count).End(xlUp).Offset(1)
 
Upvote 0
You could try something like this. Long way round but it should work.

Sub copyData()
'Repeat this for the other sheet names below the line
Worksheets("Large").Select
Range("A2").Select
ActiveCell.CurrentRegion.Copy
Sheets("Sheet1").Select
Range("A1").Select
Do Until ActiveCell.Value = ""
ActiveCell.Offset(1, 0).Select
Loop
ActiveCell.PasteSpecial xlPasteAll
'--------------------------------------
Worksheets("Medium").Select
Range("A2").Select
ActiveCell.CurrentRegion.Copy
Sheets("Sheet1").Select
Range("A1").Select
Do Until ActiveCell.Value = ""
ActiveCell.Offset(1, 0).Select
Loop
ActiveCell.PasteSpecial xlPasteAll
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,876
Members
452,949
Latest member
Dupuhini

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