I have a sheet with hundreds of cells in a column, sometimes over 700.
I have a VBA sub that sums the values in the cells:
Sub AddRainColumn()
Sheets("Rain").Select
Range("A" & Rows.Count).End(xlUp).Offset(1).Select
ActiveCell.FormulaR1C1 = "=SUM(R[-991]C:R[-1]C)"
End Sub
In order seen the sum I have to go all the way to the last cell in the column.
I need a way to sum the cells and put the sum at the top of the sheet.
Any idea how I can do this?
Thanks.
Bookmarks