reset list box selection when check mark is selected?

joe789

Registered User.
Local time
Today, 17:15
Joined
Mar 22, 2001
Messages
154
If an individual selects one or many items from a list box that is bound to a table with the multi-select criteria enabled, how would I remove all selections from that list box that the user selected once a check mark box has been checked? I cannot use Me.LstBox.RowSource = "" because in that case there is nothing in the list box, what I would like to do is somehow reset the list box's selections, so that let's say a user has selected a few items in the box (the items are then selected and blue) and once the user check marks the box, the items that have been selected are not selected anymore? I have tried every object keyword I can think of and cannot seem to find one that would actual reset the selections? Any help would be greatly appreciated.

Thank you,
Joe
 
This type of thing?

Code:
  Dim x As Integer
  For x = 0 To Me.lstReconcile.ListCount - 1
    Me.lstReconcile.Selected(x) = False
  Next x
 

Users who are viewing this thread

Back
Top Bottom