F
FIRSTROUNDKO via OfficeKB.com
Hi,
I selected this range
Range(ActiveCell.Offset(-lastrow + 2, 0), ActiveCell.Offset(-2, 0))
and I want to put its Sum 2 cells down
my code so far is
Dim lastrow As Long
lastrow = Cells(Rows.Count, 1).End(xlUp).Row
Range("B" & lastrow + 2).Select
Do Until Selection.Offset(-38, 0) = ""
Range(ActiveCell.Offset(-lastrow + 2, 0), ActiveCell.Offset(-2, 0))
Selection.Offset(0, 1).Select
Loop
I selected this range
Range(ActiveCell.Offset(-lastrow + 2, 0), ActiveCell.Offset(-2, 0))
and I want to put its Sum 2 cells down
my code so far is
Dim lastrow As Long
lastrow = Cells(Rows.Count, 1).End(xlUp).Row
Range("B" & lastrow + 2).Select
Do Until Selection.Offset(-38, 0) = ""
Range(ActiveCell.Offset(-lastrow + 2, 0), ActiveCell.Offset(-2, 0))
Selection.Offset(0, 1).Select
Loop