SlideShowView.GotoSlide (PowerPoint)

Switches to the specified slide during a slide show. You can specify whether you want the animation effects to be rerun.

The value of the ResetSlide parameter can be one of these MsoTriState constants. The default is msoTrue.

Syntax : expression.GotoSlide (Index, ResetSlide)

Dim lngIndex As Long: lngIndex = 3 
SlideShowWindows(1).View.GotoSlide Index:=lngIndex


The following argument is required

Index (Long) - The number of the slide to switch to.

The following argument is optional

ResetSlide (Office.MsoTriState) - Whether animation effects should be rerun when returning to the first slide. See Remarks for more information.