-
how can i change the select item in a listbox...
like the selected line contained a word "something" and i want to change the word "something" to "nothing"... how can i change the property... forgot, and the word "something" is the 3rd one in the listbox....
thanks....
-
Just change the List property of a selected item or given item to the new text.
Code:
If List1.ListIndex <> -1 Then
List1.List(List1.ListIndex) = "new ListItem"
End If
or:
List1.List(3) = "new ListItem"
Hope this helps
-
Thank you alot