formuls
"est0" is a part of the defined name for a cell. ('est01,est02...etc.). "i"
is defined as 'dim i as integer' and I am using in it a 'for i = 1 to 62'
code.
"PCLIVE" wrote:
[i]
What is "est0"? How is "i" defined and how does it incriment?
--
"ranswert" wrote in message
...[i]
I need to write a code that inserts a formula into a cell.
The code is:
Range("est0" & i).FormulaR1C1 = _
"=('Estimate Costs'!RC[7]&"" ""&'Estimate Costs'!RC[8])"
The row needs to increment 'i' down each time I insert the formula.
I get an error when it is run. I have i as an integer.
What am I doing wrong?
Thanks
|