Hi
I am using the code below to idntify minus figures, the code does not pick the minus figures up, any ideas why!
Function IncurredBand(Incurred)
Select Case Incurred
Case -1 To -500
IncurredBand = -500
Case -501 To -5000
IncurredBand = -5000
Case -5001 To -15000
IncurredBand = -15000
Case Else
IncurredBand = Incurred
End Select
End Function
I am using the code below to idntify minus figures, the code does not pick the minus figures up, any ideas why!
Function IncurredBand(Incurred)
Select Case Incurred
Case -1 To -500
IncurredBand = -500
Case -501 To -5000
IncurredBand = -5000
Case -5001 To -15000
IncurredBand = -15000
Case Else
IncurredBand = Incurred
End Select
End Function