Bonjour à tous,
Dans le filtre ci-après est-il possible de rajouter plusieurs mots de recherche derrière "ANNECY-ROMAINS".
Dans la positive qu'elle doit être la syntaxe?
Bien merci,
Philippe
Sub FiltreVilles()
Dim Nblg As Long
With Sheets("effectifactif")
Nblg = .Range("X" & Rows.Count).End(xlUp).Row
.Range("AW2").Formula = "=X5=""ANNECY-ROMAINS"""
.Range("A4:AU" & Nblg).AdvancedFilter Action:=xlFilterCopy, criteriarange:=.Range("AW1:AW2"), copytorange:=Sheets("Annecy").Range("A3:AU3")
.Range("AW1:AW2").ClearContents
End With
End Sub