Collection of selected rows in list box

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

Guest

I'm really working with VB6, but cannot find that community. However, the
question should be the same for Access.

I seem to recall that the lines that have been selected in a list box form a
collection and that I can work my way through the selected items with the
"For each ... in ..." method. However, I am searching but cannot find the
methods or an example. Can someone help please.
Thank you.
 
I'm really working with VB6, but cannot find that community. However, the
question should be the same for Access.

microsoft.public.vb.controls might be worth a try.
I seem to recall that the lines that have been selected in a list box form a
collection and that I can work my way through the selected items with the
"For each ... in ..." method. However, I am searching but cannot find the
methods or an example. Can someone help please.
Thank you.

Visual Basic listboxes and Access listboxes are somewhat different, if
I recall aright, but try looking at the control's ItemsSelected
property.

John W. Vinson[MVP]
 

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