Sub Test()
Dim myrng as Long
Set i = Sheets(ActiveSheet.Name).UsedRange.Rows
myrng = i.Count
Range("C65536").End(xlUp).Offset(1, 0) = Application.WorksheetFunction.Sum(Range("C2:C" & myrng))
End Sub
Sub test()
Dim rngNext As Range
With Sheet1
If .Range("C1").Value = "" Then
Set rngNext = .Range("C1")
Else
Set rngNext = .Cells(Rows.Count, "C").End(xlUp).Offset(1, 0)
End If
End With
MsgBox "Next free cell in column C is " & rngNext.Address
End Sub
Sub NateO()
MsgBox [c65536].End(3).Item(2).Address
'End can be one of 4 directions; Left,Right,Up,Down : So 3=Up
'Item is used to offset from the specified range, uses rows if only one argument
' Row 1 is the row of the range itself so 2 is down 1 row
End Sub