Bonjour,
C'est pas dur, il suffit d'écrire sa propre fonction Transpose.
Voici la mienne :
Function Transpose(Ttk As Variant) As Variant
Dim T As Variant, lg As Long, cl As Long, i As Long, j As Long
lg = UBound(Ttk, 1)
cl = UBound(Ttk, 2)
ReDim T(LBound(Ttk, 2) To cl, LBound(Ttk, 1) To lg)
For i = LBound(Ttk, 2) To cl
For j = LBound(Ttk, 1) To lg
T(i, j) = Ttk(j, i)
Next j
Next i
Transpose = T
End Function
L'appel est simple, par exemple :
FeuilExt.Range("A2").Resize(UBound(NewTab, 2), UBound(NewTab, 1)) = Transpose(NewTab)