Here is the code I have so far to filter data. But I wasn't sure, if I did this effectively with ".UsedRange."
What I want to do is filter the data using a range that changes daily, copy only the filtered data(not the headings), and paste into another worksheet starting in cell A2.
What do you recommend?
Sub Filter()
Range("Q6").Select
Selection.AutoFilter
ActiveSheet.UsedRange.AutoFIlter Field:=17, Criteria1=Array("C",_ "C1", "C2", "L"), Operator:=xlFilterValues
EndSub
What I want to do is filter the data using a range that changes daily, copy only the filtered data(not the headings), and paste into another worksheet starting in cell A2.
What do you recommend?
Sub Filter()
Range("Q6").Select
Selection.AutoFilter
ActiveSheet.UsedRange.AutoFIlter Field:=17, Criteria1=Array("C",_ "C1", "C2", "L"), Operator:=xlFilterValues
EndSub
Last edited: