ik heb een script voor een digitale klok in mijn ppt.
kan iemand deze aanpassen zodat hij 24u notatie weergeeft ipv 12u notatie
kan iemand deze aanpassen zodat hij 24u notatie weergeeft ipv 12u notatie
Code:
Public clock As Boolean
Public currenttime, currentday As String
Sub Pause()
Dim PauseTime, start
PauseTime = 1
start = Timer
Do While Timer < start + PauseTime
DoEvents
Loop
End Sub
Sub StartClock()
clock = True
Do Until clock = False
On Error Resume Next
currenttime = Format((Now()), "hh:mm:ss AM/PM")
currenttime = Mid(currenttime, 1, Len(currenttime) - 6)
ActivePresentation.Slides(SlideShowWindows(1).View.CurrentShowPosition).Shapes("Betty").TextFrame.TextRange.Text = currenttime
Pause
Loop
End Sub
Sub OnSlideShowTerminate()
clock = False
End Sub