merlynsdad
Programmer
I'm trying to compare the ActiveCell in one worksheet to a range in another sheet looking for a match.
It's giving me bad info and I can't figure out why. Row b in Lists should give me the same name as the ActiveCell in Perfect. strLead is coming up blank in the Watch window.
If the square peg won't fit in the round hole, sand off the corners.
Code:
strLead = Application.WorksheetFunction.VLookup(Worksheets("Perfect").ActiveCell, Worksheets("Lists").Range("$b$197:f$202"),2, False)
If the square peg won't fit in the round hole, sand off the corners.