Hi All,
I have a requirement to use autofilter macro. The column to filter is in sheet 1 and would be A1 and the contents to filter are present in sheet2 in the range A1:A20
I am using the below code to auto filter based on a cell value.
It is the criteria in the below which i need to look for all values between cell A1 and A20
Range("A1").Select
ActiveSheet.Range("A1").AutoFilter Field:=1, Criteria1:=Range("G1").Value
If someone has any codes please help.
Sudi
I have a requirement to use autofilter macro. The column to filter is in sheet 1 and would be A1 and the contents to filter are present in sheet2 in the range A1:A20
I am using the below code to auto filter based on a cell value.
It is the criteria in the below which i need to look for all values between cell A1 and A20
Range("A1").Select
ActiveSheet.Range("A1").AutoFilter Field:=1, Criteria1:=Range("G1").Value
If someone has any codes please help.
Sudi