Featured Replies
Archived
This topic is now archived and is closed to further replies.
A better way to browse. Learn more.
A full-screen app on your home screen with push notifications, badges and more.
This topic is now archived and is closed to further replies.
buenos días,
Tengo el siguiente macro. Es para copiar una hoja y dar nombre de acuerdo a una lista. Sin embargo, cuando agrego un nombre mas en la lista me da erro.
Alguien me puede ayudar?
Sub Copia() Dim C As Range Application.ScreenUpdating = False For Each C In Range("A2", Range("A" & Rows.Count).End(xlUp)) Sheets("Molde").Copy , Sheets(Sheets.Count) With ActiveSheet .Range("A5") = ? .Name = Left(C.Offset(, 1), 31) End With Next C Application.ScreenUpdating = True End SubEjemplo Copiar Hoja.xlsm