Takes2ToTango
Board Regular
- Joined
- May 23, 2023
- Messages
- 69
- Office Version
- 365
- Platform
- Windows
I am trying to auto filter two criteria in the same column so they can both appear. However, when I type the code in and run it, nothing appears
I am trying to get it so that the range D3 as standard is filtered and the value of D3 plus Total on the end is filtered also.
Is there a way to wildcard a range to say if it includes D3?
VBA Code:
If ActiveSheet.AutoFilterMode = True Then
Range("C6").AutoFilter field:=2, Criteria1:=Range("D3"), operator:=xlAnd, criteria2:= Range("D3") & "Total"
Is there a way to wildcard a range to say if it includes D3?