Yes, I put in the error handling you suggested and I got the same error until I eliminated the "Worksheetfunction" from the code. Once I did that, my variable was set to an error value as if it did not find the data in the range. The problem is, that if I use VBA to grab a cell and set its' value to equal that lookup formula, it works and finds the data I am looking for.
So, the formula works and finds the correct data if I plug the formula into a cess. If I set a variable to equal that lookup, it doesn't fine the data??? I would like to try the .Find, but I am fairly clueless as to how that works. I have read all of the examples, but I don't understand how it's working. Can someone explain what this code (from the example) is doing?
Bookmarks