Private Sub UserForm_Initialize()
Me.ListBox1.AddItem "aa"
Me.ListBox1.AddItem "bb"
Me.ListBox1.AddItem "cc"
Me.ListBox1.AddItem "dd"
Me.ListBox1.MultiSelect = fmMultiSelectMulti
End Sub
Private Sub CommandButton1_Click()
For i = 0 To Me.ListBox1.ListCount - 1
If Me.ListBox1.Selected(i) = True Then
MsgBox ListBox1.List(i)
End If
Next
End Sub