If Selection = Une ligne entière then
Selection.Interior.Colorindex = 6
End If
If Selection = Une cellule, ou plusieurs cellules then
Sélectionner la ligne correspondante
Selection.Interior.Colorindex = 6
End If
N'hésitez pas à me questionner si j'ai mal exprimé mon problème.
Merci d'avance
Mattharm
If Selection.Rows.Count = 1 And Selection.Count = Columns.Count Then
Selection.Interior.ColorIndex = 6
End If
If Selection.Count = 1 Then
Selection.EntireRow.Select
Selection.Interior.ColorIndex = 6
End If
A noter qu'en VBA il est préférable d'éviter les Select, c'est un B A BA...