Anibal Zavala

Anibal Zavala

 Perú @anibalzavala desde - visto
Preguntar

Actividad pública reciente

Ha valorado "Excelente" la respuesta

Número correlativo de rango de celdas con valores distintos.

respondió: H o l a: Te anexo la macro Sub Correlativo() 'Por.Dante Amor ant = Cells(2, "A") n = 1 For i = 2 To Range("A" & Rows.Count).End(xlUp).Row If Cells(i, "A") <> ant Then n = 1 Cells(i, "B") = n Cells(i, "C") = "M" & n n = n + 1 ant = Cells(i, "A") Next...