methode2404
New Member
- Joined
- Sep 3, 2018
- Messages
- 30
Hi,
How can i use "sum" function in ".Formulalocal="
my code in vba :
Range("N" & CStr(ilkbos + 1)).FormulaLocal = "=(R[0]C[-1])+(R[1]C[-1])+(R[2]C[-1])+(R[3]C[-1])+(R[4]C[-1])"
but i would use "sum" function like;
Range("N" & CStr(ilkbos + 1)).FormulaLocal = "=sum(R[0]C[-1]):(R[4]C[-1])"
but it doesn't work
Best Regards
Metin
How can i use "sum" function in ".Formulalocal="
my code in vba :
Range("N" & CStr(ilkbos + 1)).FormulaLocal = "=(R[0]C[-1])+(R[1]C[-1])+(R[2]C[-1])+(R[3]C[-1])+(R[4]C[-1])"
but i would use "sum" function like;
Range("N" & CStr(ilkbos + 1)).FormulaLocal = "=sum(R[0]C[-1]):(R[4]C[-1])"
but it doesn't work
Best Regards
Metin