Bonjour
Je souhaiterais savoir comment je dois faire pour relier ces deux codes. Ecrire les cellules d'une colonne toujours en majuscule et idem en minuscules pour une autre colonne.
Merci
Cdlt
TA
Private Sub Worksheet_Change(ByVal Target As Range)
With Target
If .Count > 1 Then Exit Sub
If Intersect(Target, Range("B8:B500")) Is Nothing Then Exit Sub
Application.EnableEvents = False
.Value = UCase$(.Value)
With .Font
.Size = 16: .Bold = True
Application.EnableEvents = True
End With
End With
XXXXXXXXXXXXXX
If Intersect(Target, Range("c8:c500")) Is Nothing Then Exit Sub
Application.EnableEvents = False
.Value = LCase$(.Value)
With .Font
.Size = 16
Application.EnableEvents = True
End With
End With
End Sub