'---transfert des notes dans OdMerite---
brrc = br.Rows.Count
Set P = br(-2, 5).Resize(brrc + 3, 8)
If Not Intersect(Target, P) Is Nothing Then
Set P = Intersect(Target.EntireColumn, P)
With Feuil15 'CodeName
.[C23] = LCase([B7] & " " & [B8]) 'trimestre
.[G23] = P(1) 'Coef Note
With .ListObjects(1).DataBodyRange
If .Rows.Count > 1 Then .Offset(1).Resize(.Rows.Count - 1).Delete
If brrc > 1 Then [MOYENNE].EntireRow.Resize(brrc - 1).Insert
.Cells(1, 2).Resize(brrc) = br.Columns(2).Value 'noms
.Cells(1, 4).Resize(brrc, 2) = br.Columns(3).Resize(, 2).Value 'SEXE R/NR
.Cells(1, 6).Resize(brrc) = P(4, 1).Resize(brrc).Value 'notes
End With
End With
End If