Thread
:
Calculating subtotals
View Single Post
#
9
Posted to microsoft.public.excel.programming
merjet
external usenet poster
Posts: 812
Calculating subtotals
Oops. I accidentally posted before finishing. Make that:
Sub MySubtotals()
For iCol = 2 To 4
Cells(5, iCol) = Application.Sum(Range(Cells(2, iCol),
Cells(4, iCol)))
Next iCol
End Sub
Reply With Quote
merjet
View Public Profile
Find all posts by merjet