Sub test()
Dim TE(), C&, L&, TC() As String, Chemin As String, NomFich As String
TE = Feuil2.[B1:H1].Value
ReDim TC(1 To UBound(TE, 2))
For C = 1 To UBound(TE, 2)
TC(C) = Space$(TE(1, C))
Next C
TE = Intersect(Feuil2.[B3:H1000000], Feuil2.UsedRange).Value
'ReDim TS(1 To UBound(TE, 1), 1 To 1) <--- INSTRUCTION À SUPPRIMER (vestige de rédaction initiale)
Chemin = "C:\Documents and Settings\...\..." ' à adapter
NomFich = "FICHTEST" 'à adapter
Open Chemin & "\" & NomFich & ".txt" For Output As #1
For L = 1 To UBound(TE, 1)
For C = 1 To UBound(TE, 2)
LSet TC(C) = TE(L, C)
Next C
Print #1, Join(TC, "")
Next L
Close #1
End Sub