I have an application defined or object defined error on the following line:
SearchArray = Sheets("CurrentSheet").Range(Cells(6, 5), Cells(EndArray, 6))
EndArray is an integer variable and SearchArray is a Range variable. I don't see where the problem is occurring. Any ideas?