what i am trying to accomplish is to add a specific color for each user, for example, if someone had the icon "SEXP" or the flag "13" then it will add the user to the list with the designated color. i'm not getting any luck with this, any suggestions?
i tried:
If StrFlag = "1" Then
Users.ListItems(1).ForeColor = vbYellow
ElseIf StrFlag = "13" Then
Users.ListItems(1).ForeColor = vbWhite
ElseIf StrFlag = "9" Then
Users.ListItems(1).ForeColor = vbBlue
End If
and:
If Icon = "SEXP" Then
Users.ListItems(1).ForeColor = vbYellow
ElseIf Icon = "D2XP" Then
Users.ListItems(1).ForeColor = vbWhite
ElseIf Icon = "STAR" Then
Users.ListItems(1).ForeColor = vbBlue
End If
there is no ForeColor option for ListItems
that explains why.. heh thanks
There is if you're using a listview..