Re,
Après vérification, il manque la partie du code qui fait la mise en forme :
With Selection
.HorizontalAlignment = xlGeneral
.VerticalAlignment = xlCenter
.WrapText = True
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
Range("B1,F1,I1:K1").Select
Range("I1").Activate
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlCenter
.WrapText = True
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
Mais je ne sais pas la transformer pour qu'elle s'applique à la ligne traitée, pas seulement à la ligne (A1:Q1)
Merci.