Re-Bonsoir Gib,
Précision supplémentaire :
Si la feuille "60" n'est pas active au moment du lancement de la macro, alors coder :
=====================================================
Private Sub CommandButton1_Click()
'Ce bouton affiche toutes les lignes
Set Rng = Sheets("60").Range("1:40") '>>> Zone à analyser= Lignes 1 à 40 (Ajustable)
Application.ScreenUpdating = False
For Each Row In Rng.Rows
Row.Hidden = False
Next Row
Application.ScreenUpdating = True
End Sub
=====================================================
Private Sub CommandButton2_Click()
'Ce bouton masque les lignes dont les cellule E et G sont vides
Set Rng = Sheets("60").Range("1:40") '>>> Zone à analyser= Lignes 1 à 40 (Ajustable)
Application.ScreenUpdating = False
For Each Row In Rng.Rows
If Row.Columns("E") = "" And Row.Columns("G") = "" Then Row.Hidden = True
Next Row
Application.ScreenUpdating = True
End Sub
=====================================================
Omicron