Boa noite!!
Caso você desejar criar ema sequência M1, M2, M3 etc
Use...
Sub AleVBA_11212()
Const cstrTEMPLATE As String = "modelo001"
Const cstrNEW_NAME As String = "M"
Sheets(cstrTEMPLATE).Copy After:=Worksheets(Worksheets.Count)
ActiveSheet.Name = cstrNEW_NAME & Format(Sheets.Count, "0")
End Sub
Att
Existem mil maneiras de preparar Neston. Invente a sua!
http://www.youtube.com/ExpressoExcel
Postado : 05/04/2014 4:35 pm