hi,
I am trying to get the filter data in sheet 2 based on filter criteria selected in sheet 1. i am able to do the same when one criteria is selected, but unable to extend the same for multiple selections. I am using Excel 2007. Following is my code:
Code:
With Worksheets("Sheet1")
If .AutoFilterMode Then
With .AutoFilter.Filters(1)
If .On Then c1 = .Criteria1
End With
End If
End With
Sheets("Sheet2").Range("$A$2:$P$11").AutoFilter Field:=1, Criteria1:= _
c1
Please help!!!