Bonjour,
Tout d'abord merci beaucoup pour votre aide
j'ai testé en prenant le code ci-dessous mais cela ne fonctionne toujours pas. J'ai probablement fait une erreur bête. Qu'en pensez-vous?
Dim tabl() As String
ReDim tabl(1 To 1000, 1 To 28) As String
Dim monformat() As String
ReDim monformat(1 To 1000, 1 To 28) As String
'pour la totalité du tableau
For i = 3 To derniereLigne
'on récupère Taux 1
tabl(nbLigne, 11) = Cells(i - SPVref, 14)
monformat(nbLigne, 11) = Cells(i - SPVref, 14).NumberFormat
'on affiche le tableau construit
For i = 1 To nbLigne - 1
For j = 1 To 28
Cells(1 + i, j) = tabl(i, j)
Cells(1 + i, j).NumberFormat = monformat(i, j)
Next j
Next i
Bien cordialement