Function ARN(N)
Application.Volatile
ARN = ""
For i = 1 To 5 Step 2
C = Mid(N, i, 1)
If InStr(1, "AKQJ", C, 1) Then
A = "H"
ElseIf InStr(1, "T987", C, 1) Then
A = "M"
ElseIf InStr(1, "23456", C, 1) Then
A = "L"
Else: A = " - "
End If
ARN = ARN & A
Next i
End Function