Sub test()
Dim Plg As Range
Dim i&, LstRow&, J&, Col&, Col2&
Dim TMp As Variant
Dim Flg As Boolean
With Sheets("Forecast BI")
LstRow = .Cells(.Rows.Count, 1).End(3).Row
Set Plg = .Range("A2:T" & LstRow)
End With
TMp = Plg
For i = LBound(TMp, 1) To UBound(TMp, 1)
Flg = False
For Col = 3 To 13
If TMp(i, Col) <> 0 Then Flg = True
Next Col
If Flg Then
J = J + 1
For Col2 = LBound(TMp, 2) To UBound(TMp, 2)
TMp(J, Col2) = TMp(i, Col2)
Next Col2
End If
Next i
Application.ScreenUpdating = False
Plg.ClearContents
Plg.Resize(J, UBound(TMp, 2)) = TMp
Application.ScreenUpdating =...