No need to bother pasting my code or what I need help with unless I know someone is familiar with both VBA and Excel. I hope someone is familiar though! Thanks!
Keith
Keith
Public Function FGs(ByVal MyNum As String) As Long Dim x As Variant Dim i As Long Dim score As Long x = Split(MyNum, "-", -1) For i = 0 To UBound(x) score = CInt(x(i)) If score <= 39 Then FGs = FGs + 3 ElseIf score > 49 Then FGs = FGs + 5 Else FGs = FGs + 4 End If Next i End Function
Comment