Article ID: 162328
Article Last Modified on 10/11/2006
Sub Test()
' Initialize and then start a slide show.
With ActivePresentation.SlideShowSettings
.ShowType = ppShowTypeSpeaker
.LoopUntilStopped = msoFalse
.ShowWithNarration = msoTrue
.ShowWithAnimation = msoTrue
.RangeType = ppShowAll
.AdvanceMode = ppSlideShowUseSlideTimings
.PointerColor.SchemeColor = ppForeground
.Run
End With
' Goes to the next slide.
SlideShowWindows(Index:=1).View.Next
' Goes to the next slide.
SlideShowWindows(Index:=1).View.Next
' This code is ignored if a breakpoint is set on this line.
Windows.Item(Index:=1).Activate '<-- Put breakpoint here
' Displays a message box.
MsgBox "I'm done"
End Sub
163435 VBA: Programming Resources for Visual Basic for Applications
Additional query words: 97 8.00 kbmacro kbpptvba ppt8 vba vbe
Keywords: kbcode kbdtacode kbhowto kbmacro kbprogramming KB162328