Where can I add this function in report builder? unable to figure out.
Function GetColor(ByVal CategoryGroupMember As String) As String
Dim ColorCode As String
Select Case CategoryGroupMember
Case "Australia"
ColorCode = "#AC9494"
Case "Canada"
ColorCode = "#37392C"
Case "France"
ColorCode = "#939C41"
Case "Germany"
ColorCode = "#6B8272"
Case "United Kingdom"
ColorCode = "#D29B48"
Case "United States"
ColorCode = "#3C4848"
End Select
Return ColorCode
End Function
Thanks.