Can I get suggestions for the additional code needed to remove the selected item from Sheet6?
This only removes the item from the UserForm.
This only removes the item from the UserForm.
Rich (BB code):
Rich (BB code):
Private Sub UserForm_Initialize()
With Sheet6
ListBox1.List = .Range("A2", .Range("A" & .Rows.Count).End(xlUp)).Resize(, 2).Value
End With
End Sub
_________________________________________________________________________________
Private Sub CommandButton3_Click()
Dim i As Integer
For i = 0 To ListBox1.ListCount - 1
If ListBox1.Selected(i) Then
ListBox1.RemoveItem (i)
End If
Next i
End Sub