Good morning -
Can anyone provide some thoughts on why the following line would throw a "Run-time error '1004': Application-defined or object-defined error" message?
It must be something with the syntax, but I can't see it. I even tried recording this in the macro recorder, but my code matches what the macro recorder spits out.
Thank you
Can anyone provide some thoughts on why the following line would throw a "Run-time error '1004': Application-defined or object-defined error" message?
Code:
Range("K5:K" & DestRow).FormulaR1C1 = "=VLOOKUP(RC1&RC2&RC3&RC6,'Custodian Data'C1:C13,9,FALSE)"
It must be something with the syntax, but I can't see it. I even tried recording this in the macro recorder, but my code matches what the macro recorder spits out.
Thank you