P
PVANS
Hi All,
Hope someone can help me with this.
I am trying to find a method of finding the first blank row on a worksheet
and perform a sum calculation for column B:
example:
Before
A B
ww ww
x 1
x 2
x 5
x 6
After
ww ww
A B
x 1
x 2
x 5
x 6
14
I have code to find the first blank row:
Dim NextRow As Long
NextRow = Range("B65536").End(xlUp).Row + 1
Cells(NextRow, 2) = "test"
But of course, I don't want it to say test, but insteade calulate the sum of
all values in the column from B2 down (B1 has heading)
Thank you, really appreciate any help
Hope someone can help me with this.
I am trying to find a method of finding the first blank row on a worksheet
and perform a sum calculation for column B:
example:
Before
A B
ww ww
x 1
x 2
x 5
x 6
After
ww ww
A B
x 1
x 2
x 5
x 6
14
I have code to find the first blank row:
Dim NextRow As Long
NextRow = Range("B65536").End(xlUp).Row + 1
Cells(NextRow, 2) = "test"
But of course, I don't want it to say test, but insteade calulate the sum of
all values in the column from B2 down (B1 has heading)
Thank you, really appreciate any help