title: Get text of listBox.selectedItems?
body: <p>I have a listBox that displays members of a distribution group. I have the listbox setup for multisimple selection to select more than one member. I'm trying to do a loop to get the text of the selected items(index's). Here is my code which works fine for the first item. On the second item it crashes and says "Index was outside the bounds of the array." I will be taking these members and placing them in the To: field of a meeting request. So I need to to be formatted like this: member1;member2. I'm just using the MsgBox to test what I'm getting back. But I'm guessing I would need to add to an array. Please help!</p>
  
  <pre><code>For i = 0 To (myListBox.Items.Count - 1)
          If myListBox.GetSelected(i) Then
              MsgBox(myListBox.SelectedItems(i))
          End If
      Next
  </code></pre>