You are on page 1of 1

Sub Simulación()

Dim i As Long, c As Long

Dim ROE As Double

Dim MN As Double

c = Val(InputBox("iteraciones?", , 1000))

Columns("K:K").Clear

Columns("L:L").Clear

Range("A1").Select

For i = 1 To c

ROE = Range("D102")

MN = Range("D103")

Range("I14") = i

Cells(i, "K") = ROE

Cells(i, "L") = MN

Next i

End Sub

You might also like