ChrisMac1
New Member
- Joined
- Jul 15, 2024
- Messages
- 42
- Office Version
- 365
- Platform
- Windows
Hi there,
I have a long code that includes the following...
ActiveSheet.Range("$A$1:$AG$10000").AutoFilter Field:=15, Criteria1:= _
"=EXAMPLE1", Operator:=xlOr, Criteria2:= _
"=EXAMPLE2"
It's a code to add a filter to column O to show all the EXAMPLE1 and EXAMPLE2's in the column, that will then be deleted using the follow on code. I need to add a third option to delete, how would I add EXAMPLE3 to the above please? My guesses and tests so far haven't worked...
Many thanks,
Chris.
I have a long code that includes the following...
ActiveSheet.Range("$A$1:$AG$10000").AutoFilter Field:=15, Criteria1:= _
"=EXAMPLE1", Operator:=xlOr, Criteria2:= _
"=EXAMPLE2"
It's a code to add a filter to column O to show all the EXAMPLE1 and EXAMPLE2's in the column, that will then be deleted using the follow on code. I need to add a third option to delete, how would I add EXAMPLE3 to the above please? My guesses and tests so far haven't worked...
Many thanks,
Chris.