- Aug 9, 2000
- 18,378
- 2
- 0
different problem....
Why does this line not work?
ActiveCell.FormulaR1C1 = "=sum(cells(row_hours, 3): cells(row_hours, countsites))"
I want to tell excel to sum the line of each row.
If i get rid of the quotations and try something like
ActiveCell= sum(range(cells(row_hours, 3): cells(row_hours, countsites))), it keeps thinking that sum is a function call.
Why does this line not work?
ActiveCell.FormulaR1C1 = "=sum(cells(row_hours, 3): cells(row_hours, countsites))"
I want to tell excel to sum the line of each row.
If i get rid of the quotations and try something like
ActiveCell= sum(range(cells(row_hours, 3): cells(row_hours, countsites))), it keeps thinking that sum is a function call.
