Hi,
I would like to sum varying length columns.
On the spreadsheet I would press alt,= and it selects the range automatically.
If I record a macro, it shows this as a relative range, however, it does not change the lenth of the column to be added.
Here is an example of one of my fails:
ActiveCell.FormulaR1C1 = "=SUM(Range(d, d.End(xlUp)))"
This may give you an idea of what I am trying to do though.
Thanks,
I would like to sum varying length columns.
On the spreadsheet I would press alt,= and it selects the range automatically.
If I record a macro, it shows this as a relative range, however, it does not change the lenth of the column to be added.
Here is an example of one of my fails:
ActiveCell.FormulaR1C1 = "=SUM(Range(d, d.End(xlUp)))"
This may give you an idea of what I am trying to do though.
Thanks,