M
Martin
If [years] >= 10 Then a9 = 4
ElseIf [years] >= 5 And [years] <= 9 Then a9 = 3
ElseIf [years] >= 2 And [years] <= 4 Then a9 = 2
ElseIf [years] < 2 Then a9 = 1
End If
What's wrong? I think, "and" is wrong, but how to solve it?
ElseIf [years] >= 5 And [years] <= 9 Then a9 = 3
ElseIf [years] >= 2 And [years] <= 4 Then a9 = 2
ElseIf [years] < 2 Then a9 = 1
End If
What's wrong? I think, "and" is wrong, but how to solve it?