I have a record set with ~17K records, but I only need to see ~500 of them. I'm unable to alter the source of the data that I receive, so I'm trying to delete the rows I don't need, via VBA. I haven't tried using the Evaluate function before, and for some reason, I'm not able to get this to work. I've googled quite a bit, and the code below seems to match what others have used, but it's returning a #VALUE error.
Thoughts?
Thoughts?
Code:
With dI.Range("T2", dI.Range("B" & Rows.Count).End(xlUp).Offset(, 18))
'.Value = Evaluate("IF(ISNA(VLOOKUP(RC[,-10],BK_Issues,1,FALSE)),""N"",""Y"")")
.Value = [IF(ISNA(VLOOKUP(RC[,-10],"BK_Issues",1,FALSE)),""N"",""Y"")")]
End With