Sub delw6()
Dim LastRow As Long, i As Long
LastRow = Sheets("Sheet1").Cells(Rows.Count, 23).End(xlUp).Row
Application.Calculation = xlManual
Application.ScreenUpdating = False
For i = LastRow To 2 Step -1
With Sheets("Sheet1")
If .Cells(i, 23).Value = 6 Then .Rows(i).EntireRow.Delete
End With
Next i
Application.Calculation = xlAutomatic
Application.ScreenUpdating = True
End Sub