View Single Post
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

How about

ActiveCell.FormulaR1C1 = "=SUM(R1C:R[-1]C)"


--
HTH

Bob Phillips

"Danny" wrote in message
...
Hi,

Before I posted this question, I researched on similar questions on this

NG
and I didn't get the answer I needed. All I need is a formula that would

sum
numbers above the active cell.

This is the formula I have.

ActiveCell.FormulaR1C1 = "=SUM(R[-4]C:R[-1]C)"

It works but it is only good if there are four or less numbers above it.

What I need is a formula for variable numbers to add.

Thank you.