Titre de colonne en surbrillance

Fermé
m@cfly - Modifié le 13 avril 2021 à 14:31
yg_be Messages postés 22698 Date d'inscription lundi 9 juin 2008 Statut Contributeur Dernière intervention 18 avril 2024 - 13 avril 2021 à 14:49
Bonjour,

J'utilise cette macro pour mettre la cellule titre en surbrillance

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim iR As Long

Application.ScreenUpdating = False
iR = ActiveCell.Row

Columns("A:A").Interior.ColorIndex = xlNone
Range("A" & iR) _
.Interior.ColorIndex = 6

End Sub


Comment puis-je faire pour mettre la cellule titre d'une colonne surbrillance?


Merci
EDIT : Ajout des balises de code (la coloration syntaxique).
Explications disponibles ici : ICI

Merci d'y penser dans tes prochains messages.

1 réponse

yg_be Messages postés 22698 Date d'inscription lundi 9 juin 2008 Statut Contributeur Dernière intervention 18 avril 2024 1 471
13 avril 2021 à 14:49
bonjour,
peux-tu peut-être donner un exemple?
0