Sub FindValueDeleteRow()Dim s As String, Count As IntegerLet Application.ScreenUpdating = FalseLet s = "A"For Count = 1 To ActiveSheet.UsedRange.Rows.CountSet f = Cells.Find(s, LookIn:=xlValues)If Not f Is Nothing Thenf.EntireRow.Delete 'Shift:=xlUpLet Application.ScreenUpdating = TrueEnd IfNext CountEnd Sub
Tags: Excel, VBA, find, values, delete, row, rows,
