This should be simple but.........
I am trying to sum a range of cells using VBA were the range of the cell is variable. The following works using absolute values:
[HTML][/HSheets("Treasurers Account").Cells(StartIncome + IncomeRowCount + 2, 5) = Application.WorksheetFunction.Sum(Range("E106:E116"))TML]
How do I replace the 106 and 116 with variables such as startrow and endrow?
Bookmarks