Experimente:
Sub Replicar()
Dim lastRow As Long, X As Long, Z As Long, Y As Long, T As Long
lastRow = Cells(Cells.Rows.Count, "A").End(xlUp).Row
Y = Cells(Cells.Rows.Count, "C").End(xlUp).Row
For X = 2 To lastRow
T = Cells(Cells.Rows.Count, "E").End(xlUp).Row + 1
For Z = 2 To Y
Range("E" & T) = Range("A" & X).Value
Range("F" & T) = Range("C" & Z).Value
T = T + 1
Next
Next
End Sub
Existem mil maneiras de preparar Neston. Invente a sua!
http://www.youtube.com/ExpressoExcel
Postado : 27/09/2012 1:29 pm