If I use ?WorksheetFunction.Mode(Array(1,2,5,8,12,13,1,1))
it works OK, but the following function gives the Error "Unable to get the Mode property of the Worksheetfunction class".
Function Mode(strString As Variant)
'?Mode("1,2,5,8,12,13,1,1")
Dim VarOut As Variant
VarOut =...