I have the following code inside a loop:
Range("N" & i + 1).Formula = "=L" & (i + 1) / resp2
The code above is suppose to take Column L and divide by an integer, here it is called resp2. After dividing the number by resp2 put it in Coulmn N.
I can’t seem to figure out the syntax because it keeps giving me an error or wrong numbers when I try to run the macro.
Any help is much appreciated!
Is this what you are trying?
So if the value of
i = 2and the value ofresp2 = 5theN3Cell will have=L3/5