bonjour à tous ,
j'ai une formule ci dessous (un bout...) qui colore des cellules en fonction d'un nom, je voudrai en plus les rayer mais je n'arrive pas à combiner mes 2 formules
Case 'absent'
Selection.Interior.ColorIndex = 13
Selection.Font.ColorIndex = 12
Case 'installation'
Selection.Interior.ColorIndex = 8
Selection.Font.ColorIndex = 12
code pour rayer ?
With Selection.Interior
.ColorIndex = 0
.Pattern = xlLightDown
.PatternColorIndex = xlAutomatic
je vous remercie
pierrot
j'ai une formule ci dessous (un bout...) qui colore des cellules en fonction d'un nom, je voudrai en plus les rayer mais je n'arrive pas à combiner mes 2 formules
Case 'absent'
Selection.Interior.ColorIndex = 13
Selection.Font.ColorIndex = 12
Case 'installation'
Selection.Interior.ColorIndex = 8
Selection.Font.ColorIndex = 12
code pour rayer ?
With Selection.Interior
.ColorIndex = 0
.Pattern = xlLightDown
.PatternColorIndex = xlAutomatic
je vous remercie
pierrot