I discovered that this macro takes ages so i modified it with the following code to make it quicker and turned off redrawing.
PHP Code:
Sub Delete_rows_CTD_SLOTS()
With Application
.Calculation = xlCalculationManual
.ScreenUpdating = False
For i = Cells(Rows.Count, 1).End(xlUp).Row To 1 Step -1
If Left(Cells(i, 1), 7) = "BOOKLET" Or Left(Cells(i, 1), 10) = "TOURNAMENT" Or Left(Cells(i, 1), 5) = "LOTTO" Or Left(Cells(i, 1), 3) = "PBT" Or Left(Cells(i, 1), 4) = "SEAT" Or Left(Cells(i, 1), 5) = "PRIZE" Or Left(Cells(i, 1), 4) = "BOOK" Or Left(Cells(i, 1), 6) = "PLAYER" Then Cells(i, 1).EntireRow.Delete End If
Bookmarks