Private Function fw(a As Single)
Dim i As Integer
If a < 8 And a > 6 Then
fw = 0
ElseIf a < 10 And a > 8 Then
fw = 1
ElseIf a < 13 And a > 10 Then
fw = 2
Else
Private Function fw(a As Single)
Dim i As Integer
Select Case True
Case a < 8 And a > 6
fw = 0
Case a < 10 And a > 8
fw = 1
Case a < 13 And a > 10
fw = 2
Case Else
fw = "none"
End Select
End Function