Outra solução:
Sub InsereNúmeros()
Dim Ar As Range
For Each Ar In Columns("B").SpecialCells(xlConstants).Areas
Cells(Ar.Row, 1) = 1: Cells(Ar.Row, 1).AutoFill Destination:=Cells(Ar.Row, 1).Resize(Ar.Rows.Count), Type:=xlFillSeries
Next
End Sub
Postado : 03/08/2017 10:48 am