Results 1 to 3 of 3

Thread: [SOLVED] List1 Multiselect

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2008
    Posts
    353

    [SOLVED] List1 Multiselect

    Hi guys,

    Im using this code to remove multiselected items :

    For i = 0 To List1.ListCount

    If List1.Selected(i) = true Then
    List1.RemoveItem List1.ListIndex
    End If

    Next i

    What i would like to to is to....remove all the non selected items.
    I know it could be done by moving the selected ones to a new box and then back to the old one.

    But is there a cleaner way? i tried the .selected(i)=false then .remove .List1.ListIndex but no luck

    any ideas?

    cheers
    Last edited by batori; Dec 18th, 2009 at 11:52 AM.
    Thanks for helping me out.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width