Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The following inserts a formula in the last empty row of a column and sums
all values. You can adpat this for the column, range etc as required Dim lastrow As Long lastrow = Cells(Rows.Count, "A").End(xlUp).Row Cells(lastrow + 1, 1).Formula = "=sum(A1:A" & lastrow & ")" Cheers Nigel "poppy " wrote in message ... Hi I made a mess of my last post, but here goes. I would like to be able to find the last empty row in a worksheet skip one row and then sum up the totals of each column in this row. I hope this is clearer than my last post Thanx for your help Kind Regards --- Message posted from http://www.ExcelForum.com/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
To find row is empty or not | Excel Discussion (Misc queries) | |||
Find first empty row | Excel Discussion (Misc queries) | |||
How to find next value if rows between are empty? | Excel Discussion (Misc queries) | |||
find the next empty row | Excel Discussion (Misc queries) | |||
Find Next Empty Row | Excel Programming |