Sub deleteUselessLinesFcst()
Application.ScreenUpdating = False
Dim Derlig&, rngsuppr As Range
With sh_res_fcst
Derlig = .Range("A" & Rows.Count).End(xlUp).Row
'Derlig1 = .Range("A" & Rows.Count).End(xlUp).Row
For i = Derlig To 2 Step -1
If .Range("A2") <> .Range("A" & i) And .Range("AA" & i) = 0 Then
If rngsuppr Is Nothing Then Set rngsuppr = .Cells(i, 1) Else Set rngsuppr = Union(rngsuppr, .Cells(i, 1))
End If
Next i
rngsuppr.EntireRow.Delete
End With
End Sub