Boa noite!!
Tente
Sub Traspor_Dados_Colunas_Para_Linhas()
Dim sh As Worksheet, rng As Variant, comb As Range
Set sh = Sheets(1)
For i = 2 To 4
lr = sh.Cells(Rows.Count, i).End(xlUp).Row
With sh
Set rng = .Range(.Cells(2, i), .Cells(lr, i))
End With
rng.Cut sh.Cells(Rows.Count, 1).End(xlUp)(2)
Next
Application.CutCopyMode = False
End Sub
Existem mil maneiras de preparar Neston. Invente a sua!
http://www.youtube.com/ExpressoExcel
Postado : 17/05/2013 7:18 pm