Some rework here that needs to have you at the wheel making the changes
in the slides veiwing. Is the looping an autonomous thing that operates
on its own once started? If so, we may be able to gear that to another
function. Let us know, this would be a neat feature if it can get off
the ground and flying.
--------Begin Code------------
'Sets up some buttons that represent slide references
Public Sub TimeDateUpDateSldChng()
Dim n As Integer
Dim SldNo As Long
Dim Pres As Presentation
Set Pres = ActivePresentation
With Pres.SlideMaster.Shapes.AddShape(msoShapeRectangle, 500, 0, 200,
50)
.Name = "TimeDateTxtBox"
.TextFrame.TextRange = Time & ", " & Date
End With
For n = 1 To 4
With Pres.SlideMaster.Shapes.AddShape(msoShapeRectangle, n * 60,
540 - 60, 24, 24)
.Name = "Sld" & n
.TextFrame.TextRange = n
End With
With Pres.SlideMaster.Shapes("Sld" &
n).ActionSettings(ppMouseClick)
.Run = "Identify"
End With
Next n
End Sub
'Makes the update when slide changes, only updates using action buttons
Public Sub Identify(oshp As Shape)
SlideShowWindows(1).View.GotoSlide oshp.TextFrame.TextRange
ActivePresentation.SlideMaster.Shapes("TimeDateTxtBox").TextFrame.TextRange
= Time & ", " & Date
End Sub
---------End Code---------