I would like to write a code to insert below formula in the range("c6:c205"). =IFERROR(VLOOKUP(C6;Pricelist!A5:F21997;2;FALSE);" ")
Could you please help me to correct the following code. Thank you in advance.
For i = 6 To 205
Dim myFormula As String
myFormula = "=IFERROR(VLOOKUP(C"
myFormula = myFormula & i
myFormula = myFormula & ";Pricelist!A5:F21997;2;FALSE);"
myFormula = myFormula & " "" "
myFormula = myFormula & ")"
Range("E" & i).Formula = myFormula
Next