Bonjour
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Plage1 As Range, Plage2 As Range
Set Plage1 = Range("D7:L27, D40:L46, D51:L56, D58:L58")
Set Plage2 = Range("D5:F5,G5:I5,J5:L5")
Application.EnableEvents = False
If Not Application.Intersect(Target, Plage1) Is Nothing Then
With Target.Font
.Name = "Times New Roman"
.FontStyle = "Gras"
.Size = 12
End With
Target.Value = Application.Proper(Target.Value)
'J'aimerais que les cellules des responsables soient en Arial-Gras-Italique et en 14 et de couleur bleue.
ElseIf Not Application.Intersect(Target, Plage2) Is Nothing Then
With Target.Font
.Name = "Arial"
.FontStyle = "Gras italique"
.Size = 14
.Color = -4165632
End With
End If
Application.EnableEvents = True
End Sub
Cordialement