If it is speed you need, this is twice as fast as AutoFilter with 10,000 Rows of data.
Sub With_Array()
Dim arr1, arr2, i As Long, j As Long, x As Long, y As Long, k As Long, m As Long
arr1 = Range("A1:P" & Cells(Rows.Count, "A").End(xlUp).Row).Value
x = 0
For i = LBound(arr1) To UBound(arr1)
If arr1(i, 15) Like "*Travel*" Then
x = x + 1
For j = 1 To 16
arr1(i, j) = ""
Next j
End If
Next i
ReDim arr2(1 To UBound(arr1) - x, 1 To 16)
y = 0
For k = 1 To UBound(arr1)
If arr1(k, 1) <> "" Then
y = y + 1
For m = 1 To 16
arr2(y, m) = arr1(k, m)
Next m
End If
Next k
ActiveSheet.UsedRange.ClearContents
Cells(1, 1).Resize(UBound(arr2), 16).Value = arr2
End Sub
Bookmarks