You are on page 1of 1

Sub countdown()

Dim time As Date

time = Now()

Dim count As Integer

count = 15 'assuming 15 minutes

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

Do Until time < Now()

DoEvents

ActivePresentation.SlideShowWindow.View.Slide.Shapes("countdown").TextFrame.TextRange =
Format((time - Now()), "nn:ss")

Loop

ActivePresentation.SlideShowWindow.View.Slide.Shapes("countdown").TextFrame.TextRange = "TIME
UP!"

End Sub

You might also like