Clear list

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Does any one know how to clear out a multiselect listbox? I found one on
Allen Brown's website, however, I couldn't get it to work. What I am trying
to do is clear out the select items once the query/report is generated.
Thanks!
 
I'm pretty sure you just need to Requery the ListBox.
 
I found the solution under a response by Ofer. Thanks for the response.

For i = 0 To ListBoxName.ListCount - 1
ListBoxName.Selected(i) = false
Next i
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top