Boa noite!!
Pode ser via VBA?
Sub AleVBA_Repetir()
Application.ScreenUpdating = False
Dim LastRow&, NextRow&, cell As Range
LastRow = Cells(Rows.Count, 1).End(xlUp).Row
Columns(3).Clear
NextRow = 2
Range("C1").Value = "Resultado_AleVBA"
For Each cell In Range(Cells(2, 1), Cells(LastRow, 1)).SpecialCells(2)
cell.Copy Range(Cells(NextRow, 3), Cells(NextRow + cell.Offset(0, 1).Value - 1, 3))
NextRow = Cells(Rows.Count, 3).End(xlUp).Row + 1
Next cell
Application.ScreenUpdating = True
End Sub
Existem mil maneiras de preparar Neston. Invente a sua!
http://www.youtube.com/ExpressoExcel
Postado : 01/03/2013 2:49 pm