hello,
c'est la même méthode mais peut-être d'une façon plus élégante (on pourrait passer le range en paramètre ) :
Ami calmant, J.P
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 Sub DerLig() Dim rng As Range Set rng = [A:A,C:C,E:E] For Each col In rng.Columns DLig = DerL: DerL = Cells(Rows.Count, col.Column).End(xlUp).row If DerL > DLig Then DLig = DerL Else DerL = DLig Next MsgBox DLig End Sub
Partager