Given the following code: If MatchF("Location", rArray(6)) Then Pass = False
Where: Public Function MatchF(strField As String, strValue As String)
This generates the following error “Compile Error: ByRef argument type mismatch”

Any clues as to why?
I tried the following code: If MatchF("Location", rArray(6).Value) Then Pass = False
This generates the following error: “Run-Time Error 424: Object Required”

All I want to do is pass that part of the Array into the MatchF function to determine if it is a match. The contents of Public Function MatchF should not make any difference nor should the contents @ rArray(6) itself.