Is there a way to reference the first column of the array kw30array in this match lookup? I read that if you set the row to 0 then it will only reference the column but after trying this it did not work. ie. kw30array(0,1) as the range.
Also, is it necessary to state 'worksheetfunction' since I am using an array and not the worksheet?
Thank you
For i = 2 To kw90rowcount
j = Application.WorksheetFunction.Match(kw90array(i, 1), kw30array, 0)
If IsError(j) Then
kw90array(i, 32) = "-"
kw90array(i, 33) = "-"
kw90array(i, 34) = "-"
kw90array(i, 37) = "-"
kw90array(i, 38) = "-"
Else:
kw90array(i, 32) = kw30array(j, 10)
kw90array(i, 33) = kw30array(j, 12)
kw90array(i, 34) = kw30array(j, 14)
kw90array(i, 37) = kw30array(j, 11)
kw90array(i, 38) = kw30array(j, 17)
End If
Next i