Sub Importer()
Dim F As Worksheet, coldeb As Variant, colfin As Variant
Set F = Sheets("Notes de Frais")
Application.ScreenUpdating = False
F.[N17:ABO49].Clear 'RAZ
With Sheets("Frais")
coldeb = Application.Match(F.[J11], .[17:17], 0)
colfin = Application.Match(F.[J12], .[17:17], 0)
If IsError(coldeb) Or IsError(colfin) Then Exit Sub
.Range(.Cells(17, coldeb), .Cells(46, colfin)).Copy F.[N17] 'copier-coller
.Range(.Cells(54, coldeb), .Cells(54, colfin)).Copy F.[N48] 'pour les formats
.Range(.Cells(68, coldeb), .Cells(68, colfin)).Copy F.[N49] 'pour les formats
F.[N48].Resize(, colfin - coldeb + 1) = .Range(.Cells(54, coldeb), .Cells(54, colfin)).Value 'copie les valeurs
F.[N49].Resize(, colfin - coldeb + 1).HorizontalAlignment = xlCenterAcrossSelection 'centrage
F.[N49] = Application.Sum(F.[N48].Resize(, colfin - coldeb + 1)) 'TOTAL Periode
End With
End Sub