hello every one, I have a line of code that I'm working on, it auto sums the data from column "A" and puts the sum, one cell below the last, what I'm trying to do is have to sum appear in "W1" instead of the cell below the last, any thought?
[CODEWith Sheets("DataDump8")
Dim Lr As Long
Lr = Cells(Rows.Count, "A").End(xlUp).Row + 1
Cells(Lr, "A").Formula = "=SUM(A1:A" & Lr - 1 & ")*4"
End With
][/CODE]
[CODEWith Sheets("DataDump8")
Dim Lr As Long
Lr = Cells(Rows.Count, "A").End(xlUp).Row + 1
Cells(Lr, "A").Formula = "=SUM(A1:A" & Lr - 1 & ")*4"
End With
][/CODE]
Last edited: