Bullsandbears123
Technical User
I have the controls set to input my formula into an excel spreadsheet, but my formula does not format correct once set.
I am using this code where brow=beginning row and erow=ending row....
brow=1
erow=5
ActiveCell.FormulaR1C1 = "=SUM(S" & brow & ":" & "S" & erow & "
"
I end up getting "=Sum('S1':'S5')" instead of..
"=sum(S1:S5)"
any ideas?
I am using this code where brow=beginning row and erow=ending row....
brow=1
erow=5
ActiveCell.FormulaR1C1 = "=SUM(S" & brow & ":" & "S" & erow & "
I end up getting "=Sum('S1':'S5')" instead of..
"=sum(S1:S5)"
any ideas?