Im trying to use VBA to insert this formula
=IF(OR(J2="S06",J2="S07", J2="S08"), "Yes", "No"
into a range of cells, where the value of J can go from J2, to J(i), i being the last row with data in it, I however cant get that formula to work within VBA. I have a similar one in the same macro that looks like this
For i = 2 To LastRow
truefalse = "=LEFT(A" & i & ",3)"
Range("J" & i).Value = truefalse
Next i
This one works fine, but I cant get the variable on this to set properly, no matter what I try. Any help would be greatly appreciated.