Hi im looking for a code like this but i need to set a range say B4 to M35 to be copied to a sheet which will then drive a pivot table, also i find this code keeps over-writting the previous copied data so i need this to find empty rows to paste to. so on say a sheet named day1 i will need by means of adding macro to a button for each range to copy a range from B4 to J35. to a summary. Then again on another seperate summary sheet i would need say range B40 to M70. Then again B75 to M105 to another sheet and B110 to M140 to another sheet.
Then i need to copy the same code to other sheets day2 , day3 , day4
at the end of the 4 days i would then have 4 summary sheets from the four ranges from each sheet to then drive a pivot table from each summary sheet which will be increased each time a range is saved each day.
Sub CopyRows1()
Dim bottomL As Integer
Dim x As Integer
bottomL = Sheets("day1").Range("A" & ROWS.Count).End(XLUP).Row: x = 1
Dim c As Range
For Each c In Sheets("day1").Range("A4:A" & bottomL)
If c.Value >= "" Then
c.EntireRow.Copy Worksheets("sheet1").Range("A" & x)
x = x + 1
End If
Next c
End Sub