Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2004

    Unanswered: Clearing the selected values from a list.

    Is there a quick way to clear the selected items on a list. I'm using multi-select and after the user fetches a report with the given filter (selected from the list box) I'd like to set the list box to appear with no selected values.

  2. #2
    Join Date
    Aug 2002
    Cambridge, England
    I wrote this for the same purpose:

    ' Deselect all data from a listbox
    Dim itm As Variant
    For itm = 0 To lst.ListCount - 1       'DeSelect all records in Lst
        lst.Selected(itm) = False
    Next itm

Posting Permissions

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