R
REM
I am trying to use the TREND function in a macro but cannot work out
the syntax. I only need a single value result and can get the
following to put the correct value into the active cell:
ActiveCell.FormulaR1C1 = "=TREND({5;10},{10;20},15)"
But dont know how to evaluate this to a variable, without using a
cell.
Ideally I would like the numbers to be variables also.
Any help gratefully received.
Rod
the syntax. I only need a single value result and can get the
following to put the correct value into the active cell:
ActiveCell.FormulaR1C1 = "=TREND({5;10},{10;20},15)"
But dont know how to evaluate this to a variable, without using a
cell.
Ideally I would like the numbers to be variables also.
Any help gratefully received.
Rod