Professional Documents
Culture Documents
Consecutivo 2
Consecutivo 2
Dim i As Integer
On Error GoTo Ultimo
i = InputBox(�Introduce el l�mite�, �Introducir n�meros consecutivos�)
For i = 1 To i
ActiveCell.Value = i
ActiveCell.Offset(1, 0).Activate
Next i
Ultimo:
Exit Sub
End Sub