reset a multiselected list box

G

Guest

I have a list box that has multiselect set to 1 (Simple). The first time I
select some items and then in code iterate through the items to find the ones
selected. Once I am done, I need to reset the list box so that none of the
values are selected. I am not sure how to do this? Please help.
 
R

Rick Brandt

MS said:
I have a list box that has multiselect set to 1 (Simple). The first
time I select some items and then in code iterate through the items
to find the ones selected. Once I am done, I need to reset the list
box so that none of the values are selected. I am not sure how to do
this? Please help.

Try...

Me!ListBoxName.RowSource = Me!ListBoxName.RowSource
 

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

Top