I had to add more columns and pushed back the formulas back to range T2:AA2 and also added some tabs.
I made the changes to your macro, see below:
Sub sintek()
Dim Crit, i As Long
Crit = Array("Y", "No Issues Found", "Review", "Test Fail", "Test Again", "N", "Audit Issue", "Review Needed")
With Sheets("Data")
.Range("T2:AA2").Copy .Range("T3").Resize(.Cells(.Rows.Count, 1).End(xlUp).Row - 2)
For i = LBound(Crit) To UBound(Crit)
With .Cells(1).CurrentRegion
.AutoFilter i + 6, Crit(i)
.SpecialCells(12).Copy Sheets(Crit(i)).Range("A1")
.AutoFilter
End With
Next i
End With
End Sub
The macro runs but does not transfer over the data like it did before, what other changes do I need to do to it?
Bookmarks