I have a simple UDF,
Function Score(Rst As Currency) As Currency
Select Case Rst
Case Is = 1
Score = "$2,500.00"
Case Is = 1.5
Score = "$3,750.00"
Case Is = 2
Score = "$5,000.00"
Case Is = 2.5
Score = "$6,250.00"
Case Is = 3
Score = "$7,500.00"
End Select
End Function
----
I cant seem to get the cell to automatically format to currency, I can manually format the cells. Is there a way to have the cell format to currency when the user uses this function?
thanks in advance
Function Score(Rst As Currency) As Currency
Select Case Rst
Case Is = 1
Score = "$2,500.00"
Case Is = 1.5
Score = "$3,750.00"
Case Is = 2
Score = "$5,000.00"
Case Is = 2.5
Score = "$6,250.00"
Case Is = 3
Score = "$7,500.00"
End Select
End Function
----
I cant seem to get the cell to automatically format to currency, I can manually format the cells. Is there a way to have the cell format to currency when the user uses this function?
thanks in advance