Thread
:
To set command for total amount
View Single Post
#
3
Posted to microsoft.public.excel.programming
Dan R.
external usenet poster
Posts: 220
To set command for total amount
Michael's right, but if you must:
Sub test()
Set iEnd = Cells(Rows.Count, 2).End(xlUp)
With iEnd.Offset(1, 0)
.Formula = "=SUM($B$2:" & iEnd.Address & ")"
.Font.Bold = True
End With
End Sub
--
Dan
Reply With Quote
Dan R.
View Public Profile
Find all posts by Dan R.