Userform Listbox basics...

  • Thread starter Thread starter rci
  • Start date Start date
R

rci

Hi all,

Something is driving me nuts...

On ListBoxes, with multiselect enabled, how can I cause list items to be
selected? (as if the user did it themselves).

I need to do this in code because I have other code that checks the
..selected property... but nothing that I've tried so far causes items to be
selected.

Thanks!

Mike
 
This will select the first and the third
It start at 0

ListBox1.Selected(0) = True
ListBox1.Selected(2) = True
 

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