Sub MM3()
Dim rang As Range, sh As Worksheet, lr As Long, lr2 As Long
Worksheets.Add
ActiveSheet.Name = "Compiled Master"
For Each sh In Worksheets
If sh.Name <> "Compiled Master" Then
sh.Activate
lr2 = sh.Cells(Rows.Count, "B").End(xlUp).Row
lr = Sheets("Compiled Master").Cells(Rows.Count, "A").End(xlUp).Row + 1
sh.UsedRange.AutoFilter Field:=2, Criteria1:="I"
[color=red]Set rang = sh.Range("A4:H" & lr2).Offset(1, 0)[/color] 'change "H" to your last used column letter
Set rang = rang.Resize(rang.Rows.Count - 1)
Set rang = rang.SpecialCells(xlCellTypeVisible)
rang.Copy Sheets("Compiled Master").Range("A" & lr)
sh.Cells.AutoFilter
End If
Next sh
End Sub