Sub Show_It_To_Me()
UserForm1.Show
End Sub
Private Sub UserForm_Initialize()
ListBox1.List = Sheets("Sheet1").Cells(1, 6).CurrentRegion.Value '<---- Change to where the data is
End Sub
Private Sub ListBox1_Click()
Dim ii As Long
With Sheets("Sheet5")
For ii = 1 To .Cells(.Rows.Count, 1).End(xlUp).Row
If WorksheetFunction.CountIf(.Range(.Cells(ii, 1), .Cells(ii, .Cells(ii, Columns.Count).End(xlToLeft).Column)), ListBox1) > 0 Then .Cells(ii, 1).EntireRow.Delete: Exit For
Next ii
End With
Unload Me
End Sub
See attached
Bookmarks