I have code that loops through a range (a) and for each cell in that range it tries to find a match in another range (b). The code works great if range (b) cells are values only, but it doesn't work if they are formulas.
Here is the important part of the code:
I changed the "Lookin:=xlFormulas" to "Lookin:=xlValues" and that did not work. It won't run the "rest of code".
What gives??
-Eric
Here is the important part of the code:
Code:
For Each cl In baseRng
If cl.Value <> "" Then
Set rTableCol = Range(Cells(mstrRow, cl.Column), Cells(dailyRng.Rows.Count + 2, cl.Column))
Set rFndValue = rTableCol.Find(What:=cl.Value, LookIn:=xlFormulas, LookAt:=xlWhole)
If Not rFndValue Is Nothing Then
******REST OF CODE******
I changed the "Lookin:=xlFormulas" to "Lookin:=xlValues" and that did not work. It won't run the "rest of code".
What gives??
-Eric