You are on page 1of 1

Sub countDown()

Dim time As Date


Dim count As Integer

time = Now()
count = 240

time = DateAdd("s", count, time)

Do Until time <= Now()


DoEvents

With ActivePresentation.Slides(1).Shapes(1).TextFrame.TextRange
.Text = Format((time - Now()), "hh:mm:ss")
End With

Loop

End Sub

You might also like