Boa tarde!!
Consegue copiar para outra guia sozinho?
Sub AleVBA_12446()
Dim lastrow As Long
Dim Rng As Range
lastrow = Cells(Rows.Count, "A").End(xlUp).Row
Set Rng = Range(Cells(2, "N"), Cells(lastrow, "AA"))
Application.ScreenUpdating = False
Range("N2").Select
Range("N2").Formula = "=VLOOKUP($A2,PARA_CONTATAR!$A$8:$AA$170,column(),0)"
Range("N2").AutoFill Destination:=Range(Selection, Selection.Offset(0, 13))
Range("N2:AA2").AutoFill Destination:=Rng, Type:=xlFillDefault
Range("N2:AA" & lastrow).Value = Range("N2:AA" & lastrow).Value
Application.ScreenUpdating = True
End Sub
Existem mil maneiras de preparar Neston. Invente a sua!
http://www.youtube.com/ExpressoExcel
Postado : 10/07/2014 10:21 am