I would not use the Click event.
You can not use RowSource when you use RemoveItem of course.
I would do this:
Private Sub ListBox1_MouseUp(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
If (ListBox1.Selected(ListBox1.ListIndex)) Then ListBox1.RemoveItem (ListBox1.ListIndex)
End Sub
Private Sub UserForm_Initialize()
ListBox1.List = WorksheetFunction.Transpose(Range("A1:A10"))
'ListBox1.RowSource = "A1:A10"
End Sub
Private Sub CommandButton1_Click()
Unload Me
End Sub
Bookmarks