Rico
06-06-2005, 04:53 AM
I have listboxes which are arrayed
list(0)
list(1)
list(2)
list(3)
and i wish to remove the blanks from them however i found a piece code on the site and tried to modify it
For i = List(1).ListCount - 1 To 0 Step -1
If List(1).List(i) = " " Then
List(1).RemoveItem i
End If
Next i
but it doesnt seem to work :( any help would be appreciated :)
also while im here i will be looking to search the listboxes for a certain string and then take the data from other list boxes at the same position any help with that would be great too :)
list(0)
list(1)
list(2)
list(3)
and i wish to remove the blanks from them however i found a piece code on the site and tried to modify it
For i = List(1).ListCount - 1 To 0 Step -1
If List(1).List(i) = " " Then
List(1).RemoveItem i
End If
Next i
but it doesnt seem to work :( any help would be appreciated :)
also while im here i will be looking to search the listboxes for a certain string and then take the data from other list boxes at the same position any help with that would be great too :)