Hello les zamis et amies
Ce doit être la chaleur, j'ai un peu déliré en régigeant cette macro, mais ça dépote comme disait Abel !! lol
Option Explicit
Sub BiiiiiiiiiiiiiiiBip()
Dim Biip As Worksheet, iiip As Byte
Dim BiiiiiiiiiiiiiiiiiiiP As Range, VrrooooooAhhhhhhhhh As Range
For iiip = 1 To 8
Set Biip = Worksheets(iiip)
Select Case iiip
Case 1, 2, 3
'On fait rien de ces feuilles ? moi y a pas compris lol
Case 4
'Feuille 4 Tableau de "A4 à Dx", Observation en "D", ligne de Heading = 3
Set BiiiiiiiiiiiiiiiiiiiP = Biip.Range("A3
" & Biip.Range("D65536").End(xlUp).Row)
Set VrrooooooAhhhhhhhhh = Biip.Range("A4
" & Biip.Range("D65536").End(xlUp).Row)
BiBiiiiiiiiiiiiiiip 4, BiiiiiiiiiiiiiiiiiiiP, VrrooooooAhhhhhhhhh, Biip
Case 5
'Feuille 5 Tableau de "A7 à Rx", Observation en "R", ligne de Heading = 6
Set BiiiiiiiiiiiiiiiiiiiP = Biip.Range("A6:R" & Biip.Range("R65536").End(xlUp).Row)
Set VrrooooooAhhhhhhhhh = Biip.Range("A7:R" & Biip.Range("R65536").End(xlUp).Row)
BiBiiiiiiiiiiiiiiip 18, BiiiiiiiiiiiiiiiiiiiP, VrrooooooAhhhhhhhhh, Biip
Case 6
'Feuille 5 Tableau de "A7 à AJx", Observation en "AJ", ligne de Heading = 6
Set BiiiiiiiiiiiiiiiiiiiP = Biip.Range("A6:AJ" & Biip.Range("AJ65536").End(xlUp).Row)
Set VrrooooooAhhhhhhhhh = Biip.Range("A7:AJ" & Biip.Range("AJ65536").End(xlUp).Row)
BiBiiiiiiiiiiiiiiip 36, BiiiiiiiiiiiiiiiiiiiP, VrrooooooAhhhhhhhhh, Biip
Case 7
'Feuille 7 Tableau de "A7 à Qx", Observation en "Q", ligne de Heading = 6
Set BiiiiiiiiiiiiiiiiiiiP = Biip.Range("A6:Q" & Biip.Range("Q65536").End(xlUp).Row)
Set VrrooooooAhhhhhhhhh = Biip.Range("A7:Q" & Biip.Range("Q65536").End(xlUp).Row)
BiBiiiiiiiiiiiiiiip 17, BiiiiiiiiiiiiiiiiiiiP, VrrooooooAhhhhhhhhh, Biip
Case 8
'Feuille 4 Tableau de "A7 à ADx", Observation en "AD", ligne de Heading = 6
Set BiiiiiiiiiiiiiiiiiiiP = Biip.Range("A6:AD" & Biip.Range("AD65536").End(xlUp).Row)
Set VrrooooooAhhhhhhhhh = Biip.Range("A7:AD" & Biip.Range("AD65536").End(xlUp).Row)
BiBiiiiiiiiiiiiiiip 30, BiiiiiiiiiiiiiiiiiiiP, VrrooooooAhhhhhhhhh, Biip
End Select
Next
End Sub
Sub BiBiiiiiiiiiiiiiiip(Bip As Byte, BipBip As Range, BipBipBip As Range, Biip As Worksheet)
On Error Resume Next
BipBip.AutoFilter Field:=Bip, Criteria1:="=*suppr*"
BipBipBip.SpecialCells(xlCellTypeVisible).EntireRow.Delete
Biip.ShowAllData
End Sub
Bonne Journée
@+Thierry <--- (mort de rire)