Bonjour,
J'ai un peu le même problème sauf que quand je me le symbole <> "90" dans mon code cela ne fonctionne pas. Pourriez-vous m'aider?
voici ma macro :
Sub extraction()
Application.ScreenUpdating = False
Dim sh As Worksheet
On Error Resume Next
For Each sh In Sheets
sh.ShowAllData
Next sh
Dim derlig As Long
Dim F1 As Worksheet
Dim F2 As Worksheet
Set F1 = Sheets("No FA")
Set F2 = Sheets("Statut No 90")
derlig = F2.Range("A" & Rows.Count).End(xlUp).Row
F2.Range("A4:Y" & derlig).ClearContents
F1.Range("A1", "Y" & F1.Range("A" & F1.Rows.Count).End(xlUp).Row).AutoFilter Field:=3, Criteria1:="90"
F1.Range("A1:Y100000").SpecialCells(xlCellTypeVisible).Copy Destination:=F2.Range("A4")
Application.ScreenUpdating = True
End Sub
Mercid'avance.