I have a question, hopefully you may be able to help. I have been using below code that just filter the single String from the given s.Range("C11:C2008").
when i have added 2nd string it stop working textb_deger = "Define Problem" & "Keep"
it stop working.
Then i added a range with multiple strings like textb_deger = Sheet2.Range("A20:A40")
it again stop working.
I have been trying to add a number of strings by range i.e. (Sheet2.Range("A20:A40"))
and when i run the code those string should be filtered which are available in the given range.
Your help will be greatly appreciated.
Sub datcode()
Dim s As Worksheet, textb_deger As r
Set s = Sheet7
textb_deger = "Define Problem"
s.AutoFilterMode = False
s.Range("C11:C2008").AutoFilter
s.Range("C11:C2008").AutoFilter field:=1, Criteria1:="=*" & textb_deger & "*"
End Sub