Sub test()
Dim RngToFilter As Range
Dim c As Range
Dim i As Integer
Application.ScreenUpdating = False
Application.DisplayAlerts = False
i = 66
For i = 66 To 130
Set RngToFilter = ThisWorkbook.Worksheets(i).UsedRange
RngToFilter.AutoFilter 1, "#N/A"
RngToFilter.Offset(1, 0).SpecialCells(xlCellTypeVisible).EntireRow.Delete
If ActiveSheet.AutoFilterMode = True Then ActiveSheet.AutoFilterMode = False
Set c = ThisWorkbook.Worksheets(i).Cells.Find(What:="#N/A", _
After:=Cells(Rows.Count, 1), _
LookIn:=xlValues, _
LookAt:=xlPart, _
MatchCase:=False)
If Not c Is Nothing Then
c.EntireRow.Delete
End If
Next i
Application.ScreenUpdating = True
Application.DisplayAlerts = True
End Sub