i have a (check style)list box which have some items.i want to remove more than one items which are selected(checked) .
this removing event is done by clicking on command button.
but it gives error of "invalid property array index"
plz help me to correct this error....
this my coding.....>>>
Private Sub cmdremove_Click()
For i = 0 To list1.ListCount - 1
If list1.Selected(i) = True Then
list1.RemoveItem (i)
End If
Next i
End Sub