Private Sub CommandButton1_Click()
If CommandButton1.Caption = "Afficher toutes les lignes" Then
AfficheLignes
CommandButton1.Caption = "Masquer toutes les lignes"
ElseIf CommandButton1.Caption = "Masquer toutes les lignes" Then
MasqueLignes
CommandButton1.Caption = "Afficher toutes les lignes"
End If
End Sub