Resultado a partir de 'M1'.
Sub TransporDados()
Dim n As Range, k As Long, m As Long
For Each n In Range("A3:A" & Cells(Rows.Count, 1).End(3).Row)
k = Application.CountA(Range(n, n.End(xlToRight))) - 1
Cells(m + 1, 13).Resize(k).Value = n.Value
Cells(m + 1, 14).Resize(k).Value = Application.Transpose(n.Offset(, 1).Resize(, k).Value)
m = m + k
Next n
End Sub
Postado : 24/05/2017 1:12 pm