Apologies for delay - slipped under the radar!
Sub Macro2()
Dim xlCalc As XlCalculation
On Error GoTo ExitPoint
With Application
xlCalc = .Calculation
.ScreenUpdating = False
.Calculation = xlCalculationManual
.EnableEvents = False
With .Sheets("Summary")
.Range(.Cells(5, "B"), .Cells(.Rows.Count, "B").End(xlUp).Offset(-(.Cells(5, "B") = ""), 2)).Clear
End With
With .Sheets("Store1")
With .Range(.Cells(1, "A"), .Cells(.Rows.Count, "A").End(xlUp).Offset(, 13))
.AutoFilter Field:=13, Criteria1:="Completed", Operator:=xlOr, Criteria2:="Fabricating"
Intersect(.Offset(1).Resize(.Rows.Count - 1).SpecialCells(xlCellTypeVisible), .Range("C:C,F:G")).Copy Sheets("Summary").Range("B5")
.AutoFilter
End With
End With
ExitPoint:
.Calculation = xlCalc
.ScreenUpdating = True
.EnableEvents = True
End With
End Sub
The above does what you wanted I believe in terms of store1 - you now need to decide where you intend to store the data for each store on the summary tab such that you can alter the above accordingly.
Note: in the above I implemented the earlier points re: App level settings to improve performance.
Bookmarks