GotoSlide Method

See Also         Example         Applies To

View object: Switches to the specified slide.

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

Syntax 1

expression.GotoSlide(Index)

expression   Required. An expression that returns a View object.

Index   Required Long. The number of the slide to switch to.

Syntax 1

expression.GotoSlide(Index, ResetSlide)

expression   Required. An expression that returns a SlideShowView object.

Index   Required Long. The number of the slide to switch to.

ResetSlide   Optional Long. If you switch from one slide to another during a slide show with ResetSlide set to False, when you return to the first slide, its animation picks up where it left off. If you switch from one slide to another with ResetSlide set to True, when you return to the first slide, its entire animation starts over. The default value is True.