Sub APPROS3()
Application.ScreenUpdating = False
Sheets("PRETCD").Activate
Dim y As Long
Dim z As Long
Dim LastRPreTCD As Long
Dim LastCData As Long
LastRPreTCD = Sheets("PRETCD").Cells(Sheets("PRETCD").Rows.Count, "A").End(xlUp).Row
LastCData = Sheets("DATA").Cells(1, Sheets("DATA").Columns.Count).End(xlToLeft).Column
n = 2
ReDim tabres(2 To LastRPreTCD)
For z = 2 To LastCData
For y = n To LastRPreTCD
tabres(y) = Sheets("DATA").Cells(1, z)
'Sheets("DATA").Cells(1, z).Copy Sheets("PRETCD").Cells(y, 12)
Next
n = n + Sheets("DANWARE").Range("M1")
Next
Sheets("PRETCD").Cells(2, 12).Resize(UBound(tabres) - 1) = Application.Transpose(tabres)
Application.ScreenUpdating = True
End Sub