G
Guest
Can anyone help me with code that can put a formula in the first empty cell
in a row? Basically, I want to replace the B3 in the following formula so
that it will put the formula in the first empty cell in row 3. I'm trying to
make the following formula dynamic.
Range("B3").FormulaR1C1 = "=SUM(R[1]C[-2]:R[65535]C[-2])"
any help would be appreciated.
in a row? Basically, I want to replace the B3 in the following formula so
that it will put the formula in the first empty cell in row 3. I'm trying to
make the following formula dynamic.
Range("B3").FormulaR1C1 = "=SUM(R[1]C[-2]:R[65535]C[-2])"
any help would be appreciated.