I have a work book that has 10 sheets in it and I want to copy the data from sheets 2 to 10 into sheet 1. the data from sheets 2 to 10 is all stored in the same cells (A3:Q200) and i want to copy each sheets data under each other.
i.e. sheet 1 will be in (A3:Q200), sheet 2 will be in (A201:Q400)etc. However my problem is that in sheet 2 the data may only be down to row 191 and then if this is the case i will have some empty rows
what I would like to know is how can I set a macro that pastes the data from sheet 1 then selects the next empty row down and then pastes sheet 2 and the selects the next empty cell down etc.
This is the code i have now
Sub CopySheet()
Sheets("1"
.Select
Range("A3:Q200"
.Select
Selection.Copy
Sheets("Summary"
.Select
Range("A3"
.Select
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
Sheets("2"
.Select
Range("A3:Q200"
.Select
Selection.Copy
Sheets("Summary"
.Select
Range("A201"
.Select
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
End Sub
Any Help would be much appreciated
Regards
Paul
i.e. sheet 1 will be in (A3:Q200), sheet 2 will be in (A201:Q400)etc. However my problem is that in sheet 2 the data may only be down to row 191 and then if this is the case i will have some empty rows
what I would like to know is how can I set a macro that pastes the data from sheet 1 then selects the next empty row down and then pastes sheet 2 and the selects the next empty cell down etc.
This is the code i have now
Sub CopySheet()
Sheets("1"
Range("A3:Q200"
Selection.Copy
Sheets("Summary"
Range("A3"
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
Sheets("2"
Range("A3:Q200"
Selection.Copy
Sheets("Summary"
Range("A201"
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
End Sub
Any Help would be much appreciated
Regards
Paul