Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How do I sum a column of unknown length using a macro
|
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How do I sum a column of unknown length using a macro
this would sum everythiing in column B starting in b4
Sub test() lastrow = Worksheets("Sheet1").Cells(Rows.Count, "B").End(xlUp).Row Range("B" & lastrow + 1).Formula = "=sum(B4:B" & lastrow & ")" End Sub -- Gary "SandyPaul" wrote in message ... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Finding a string of unknown length in a string of unknown length, Help! | Excel Discussion (Misc queries) | |||
SMALL() on unknown length of list | Excel Worksheet Functions | |||
Unknown # cells need to be in one column - Macro | Excel Discussion (Misc queries) | |||
Macro with non-static column length (name last row?) | Excel Programming | |||
Sum unknown length column data in VBA | Excel Programming |