I am trying to create a counter that increments 1 every second in VBA of Powerpoint presentation. This is what I have come up so far.
Sub countup()
Dim index As Integer
index = 0
Do Until index > 100
index = index + 1
DoEvents
With ActivePresentation.Slides(1).Shapes(3).TextFrame.TextRange
.Text = index
End With
Loop
End Sub
This code increments 1 until 101 but it does not increment 1 every second. This is in VBA Powerpoint so I cannot put a timer control. Hope you could help. Thank you.