Im writing validation and i have a button that removes an item from a list box. Obviously if the list isnt populated or a selection within the list hasnt been made, an error occurs... Im using this code which resolves the empty list problem but not the highlightedness:
can any one tell me what im doing wrong? merci
TIA
~*Gwar3k1*~
"To the pressure, everything's just like: an illusion. I'll be losing you before long..."
Code:
If (lst2.ListCount <> 0) Or (lst2.Selected = False) Then
lst2.RemoveItem (lst2.ListIndex)
End If
can any one tell me what im doing wrong? merci
TIA
~*Gwar3k1*~
"To the pressure, everything's just like: an illusion. I'll be losing you before long..."