Hi All,
I have declared the below
Dim Fltr As String
Dim Component As Integer
Fltr1 = "USA"
Fltr2 = "Ireland"
Fltr3 = "Australia"
and I am trying to loop in by using the above for the filter shown below.
Selection.AutoFilter
ActiveSheet.Range("$A:$U").AutoFilter Field:=2, Criteria1:= _
Fltr & Component
Have I declared string correctly and declared the Values for Fltr1,2 and 3 correctly? is the above Fltr & Component is correct . The macro is not filtering and resulting in blank. Please Help...!!!
I have declared the below
Dim Fltr As String
Dim Component As Integer
Fltr1 = "USA"
Fltr2 = "Ireland"
Fltr3 = "Australia"
and I am trying to loop in by using the above for the filter shown below.
Selection.AutoFilter
ActiveSheet.Range("$A:$U").AutoFilter Field:=2, Criteria1:= _
Fltr & Component
Have I declared string correctly and declared the Values for Fltr1,2 and 3 correctly? is the above Fltr & Component is correct . The macro is not filtering and resulting in blank. Please Help...!!!