Can I use vba advancedfilter to work with more than one criteria?
I presently have one range designated. At the top cell has the field, or column, header name being "Student", then followed by a list of 6 people, located in Sheets("Extract").Range("A1:A7"), which is then extracted from Sheets("Complete").Range("tblPrimary[#ALL]") to Sheets("Extract").Range("AA1") as in:
I want to also be able to filter out a specific month, whose field/column name just happens to be "Month", but I suspect I will need to change it to "InfoMonth" or the like to avoid the probable key word of "Month"...![]()
Sheets("Complete").Range("tblPrimary[#ALL]").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:= _ Sheets("Extract").Range("A1:A7"), CopyToRange:=Sheets("Extract").Range("AA1"), Unique:=True
The months are numerical in those fields - 1 through 12.
Can I add to the present filtering line or do I need to then create an additional filter?
Thank-you for your help!
Bookmarks