Hello,
I want to refer to an area of cell in a column to calculate the average value in a macro. My problem is that the length of the area has to change depending of the data contains in the document. I would like to write something like this:
ActiveCell.FormulaR1C1 = "=AVERAGE(R[Start%]C:R[end%]C)"
but unfortunatly it doesn't work. have you any idea?
Thanks
Bookmarks