Hi, how can I add 4 more variable criteria to this code, is it possible?
criteria2 should be :ThisYearID-1
criteria3 should be :ThisYearID-2
criteria4 should be :ThisYearID-3
criteria5 should be :ThisYearID-4
Code:
ActiveSheet.Range(Range("A2"), Range("R2").End(xlDown)).AutoFilter Field:=1, Criteria1:=ThisYearID
criteria3 should be :ThisYearID-2
criteria4 should be :ThisYearID-3
criteria5 should be :ThisYearID-4