I have a range of cells that get updated on a weekly basis by pulling data using SUMPRODUCT. I have defined a named range for this 'weekly summary' data aptly called "SourceData". What I need to be able to do is 'archive' these weekly counts by copying and pasting (I need to transpose and paste values only) to another area of the worksheet.
The following code works for what I want to do with one caveat:
The caveat is that I am unable to find the next open row in a specific named range let alone copy and paste transpose values into that next blank row.
If/when I create a named range called "DestData", I am unclear how to
1. Determine the next open/blank row within that specific range
2. Copy and paste data (transpose values only) into that row once it has been defined
Thanks in advance for any and all assistance!!
The following code works for what I want to do with one caveat:
Code:
Sub x()
With Sheets("Sheet1")
.Range("SourceData").Copy
Sheets("Sheet1").Range("N" & Rows.Count).End(xlUp)(2).PasteSpecial Transpose:=True
End With
End Sub
The caveat is that I am unable to find the next open row in a specific named range let alone copy and paste transpose values into that next blank row.
If/when I create a named range called "DestData", I am unclear how to
1. Determine the next open/blank row within that specific range
2. Copy and paste data (transpose values only) into that row once it has been defined
Thanks in advance for any and all assistance!!