[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 141
  • Last Modified:

Only for KDivad, remove highligthed item in the list box.

KDivad, please post your answer again !
0
tanc02
Asked:
tanc02
1 Solution
 
KDivadCommented:
To remove all selected items from a listbox:

Sub Clear_Click()

    For I = List1.ListCount -1 To 0 Step -1
        If List1.Selected(I) Then List1.RemoveItem I
    Next

End Sub

Hope this helps!
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now