Sub CrééerLesFiches()
Application.ScreenUpdating = False
Set fb = ActiveSheet
Set fm = Sheets("Modèle")
Set dico = CreateObject("Scripting.Dictionary")
For Each f In Worksheets
dico(f.Name) = ""
Next f
dico(vbNullString) = vbNullString
Sheets("Modèle").Visible = True
For ln = 8 To fb.Range("A" & Rows.Count).End(xlUp).Row
nom = fb.Range("B" & ln)
If Not dico.exists(nom) Then
Sheets("Modèle").Copy after:=Sheets("TABLEAU DE REPARTITION")
ActiveSheet.Name = nom
Range("E3") = fb.Range("B" & ln)
Range("E4") = fb.Range("C" & ln)
Range("E5") = fb.Range("D" & ln)
For i = 1 To 8
'ln = Choose(i, 12, 13, 14, 15, 16, 17, 18, 19)
lgn = Choose(i, 13, 13, 33, 33, 53, 53, 73, 73)
col = Choose(i, 3, 9, 3, 9, 3, 9, 3, 9)
Cells(lgn, col).Value = fb.Cells(ln, i + 11).Value
Next i
dico(nom) = nom
End If
Next ln
Sheets("Modèle").Visible = True
End Sub