I keep getting a runtime error but I do not know why. It is giving me a Run-time error 1004 "Unable to get the Match property of the WorksheetFunction class." It highlights a variable that I try to define. I copy/pasted the match criteria, so I know it is accurate.
Anyone have an idea of what's wrong?
![]()
Dim i, i2, i3, i4, LR, lRow As Long, rngData As Range i1 = Application.WorksheetFunction.Match("MGR_NAME", Range("1:1"), 0)
Bookmarks