Sub FilterData()
Application.ScreenUpdating = False
Dim i As Long
Dim j As Long
i = Sheet1.Cells(Rows.Count, "B").End(xlUp).Row
j = Sheet2.Cells(Rows.Count, "B").End(xlUp).Row
Sheet1.Range("B7:F" & i).ClearContents
With Sheet2
.Range("B2:F2").AutoFilter Field:=1, Criteria1:=Sheet1.[C3].Value
.Range("B3:F" & j).SpecialCells(xlCellTypeVisible).Copy Destination:=Sheet1.[B7]
Application.CutCopyMode = False
.ShowAllData
End With
Application.ScreenUpdating = True
End Sub