Boa tarde!!
Opsss
Esqueci de retirar a formula.
Sub AleVBA_14882()
Dim Lastrow As Long
Application.ScreenUpdating = False
Lastrow = Range("B" & Rows.Count).End(xlUp).Row
Range("A2:A" & Lastrow).Formula = "=B2&TEXT(IF(COUNTIF(B$1:B1,B2&""*"")=0,1,COUNTIF($B$1:B1,B2&""*"")+1),""00"")"
Range("A2:A" & Lastrow).Value = Range("A2:A" & Lastrow).Value 'Tire a formula
Application.ScreenUpdating = True
End Sub
Favor Clicar na mãozinha!!!
Att
Existem mil maneiras de preparar Neston. Invente a sua!
http://www.youtube.com/ExpressoExcel
Postado : 05/03/2015 2:21 pm