G
Guest
Question, I am using the following expression to return a value but I can't
seem to get it to work right. I want it to GetValue -4 for anything between
..1 and .15. Any suggestions
Function GetValue(ValueIn) As String
Select Case ValueIn
Case Is < 0.15, Is > 0.1
GetValue = -4
Case Is = 0.151 <> 0.2
GetValue = -8
Case Is > 0.21
GetValue = -12.5
End Select
End Function
Thanks
seem to get it to work right. I want it to GetValue -4 for anything between
..1 and .15. Any suggestions
Function GetValue(ValueIn) As String
Select Case ValueIn
Case Is < 0.15, Is > 0.1
GetValue = -4
Case Is = 0.151 <> 0.2
GetValue = -8
Case Is > 0.21
GetValue = -12.5
End Select
End Function
Thanks