Bonsoir , je tiens a m'excuser pour les fautes d'orthographe.
j'aurai besoin d'aide pour modifier une macro VBA.
la macro supprime tous les doublons par cellule (sauf le premier) sur toutes la colonnes et elle commence par la première ligne.
j'aimerai bien modifier la macro a fin de commencer par la dernières ligne ,
voici la macro
Sub DeleteDuplicateEntries()
Dim Cell As Range, Cel As Range, N&
Application.ScreenUpdating = False
N = 0
For Each Cell In Selection
'1st loop - (to speed things up ignore any empty cells)
If Cell <> Empty Then
For Each Cel In Selection
'2nd loop - compare non-empty cel values
'and clear contents if it's a duplicated value
If Cel <> Empty And _
Cel.Value = Cell.Value And _
Cel.Address <> Cell.Address Then
Cel.ClearContents
N = N + 1
End If
Next Cel
End If
Next
Application.ScreenUpdating = True
MsgBox "There were " & N & " duplicated entries deleted"
End Sub
Merci