Hudson Andrew
New Member
- Joined
- Sep 28, 2016
- Messages
- 31
Hi all ,
I have one simple question in fact it's stupid too.
i have loop code like below . all i wanted is the code is working fine but i wanted the code to run slowly as if we do it using F8 . like as if we doing it manually one by one i tried all the steps but could not figured it out hence i am looking for help.
I have one simple question in fact it's stupid too.
i have loop code like below . all i wanted is the code is working fine but i wanted the code to run slowly as if we do it using F8 . like as if we doing it manually one by one i tried all the steps but could not figured it out hence i am looking for help.
Code:
Sub looping()
Dim x As Integer
x = 1
Range("A1").Select
Do Until ActiveCell.Value = 10
ActiveCell.Offset(1, 0).Select
ActiveCell.Value = x
x = x + 1
Loop
End Sub