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
 
Back
Top