Hi, I'm having trouble with this error that appears whenever I try to run macros.
Code:
Sub Filter()
Sheets("Combination").Select
Range("A4:AJ598").AutoFilter
ActiveSheet.Range("$A$4:$AJ$598").AutoFilter Field:=1, Criteria1:="Y"
ActiveSheet.AutoFilter.Range.Copy
Sheets("Model").Select
Range("A4").Select
ActiveSheet.Paste
End Sub