BOnjour, Romm1 et bonjour Pedro
Sinon dans le Worksheet de la feuille concernée :
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim l%, c%, Dl%, Dc%
Dl = Cells(Rows.Count, 1).End(xlUp).Row
Dc = Cells(1, Columns.Count).End(xlToLeft).Column
Cells.Interior.ColorIndex = 2
l = ActiveCell.Row
c = ActiveCell.Column
Range(Cells(l, 1), Cells(l, Dc)).Interior.ColorIndex = 4
Range(Cells(1, c), Cells(Dl, c)).Interior.ColorIndex = 4
End Sub
nota : celle-ci tu n'en auras pas besoin puisque c'est pour la colonne
Range(Cells(1, c), Cells(Dl, c)).Interior.ColorIndex = 4