Recording a macro is a great feature, and returns code properly working in most of the cases.ok i will try it, and comeback when I need help , despite of I don't use before
Sub Macro1()
'
' Macro1
'
'
Selection.AutoFilter
ActiveSheet.Range("$A$1:$A$1969").AutoFilter Field:=1, Criteria1:= _
"TOTAL"
Rows("3:52").Select
Selection.Delete Shift:=xlUp
End Sub
Option Explicit
Sub Mussala()
Dim ws As Worksheet
For Each ws In ThisWorkbook.Worksheets
Select Case ws.Name
Case "sh", "mn"
With ws.Range("A1").CurrentRegion
.AutoFilter 1, "TOTAL"
If ws.Cells(Rows.Count, 1).End(xlUp).Row > 1 Then
.Offset(1).Resize(.Rows.Count - 1).EntireRow.Delete
End If
.AutoFilter
End With
End Select
Next ws
End Sub