Application.SlideShowNextSlide Event
PowerPoint Developer Reference |
Occurs immediately before the transition to the next slide. For the first slide, occurs immediately after the SlideShowBegin event.
Version Information
Version Added: PowerPoint 2007
Syntax
expression.SlideShowNextSlide(Wn)
expression An expression that returns a Application object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Wn | Required | SlideShowWindow | The active slide show window. |
Remarks
For information about using events with the Application object, see How to: Use Events with the Application Object.
Example
This example determines the slide position for the slide following the SlideShowNextSlide event. If the next slide is slide three, the example changes the type of pointer to a pen and the pen color to red.
Visual Basic for Applications |
---|
|
This example sets a global counter variable to zero. Then it calculates the number of shapes on the slide following this event, determines which shapes have animation, and fills a global array with the animation order and the number of each shape.
Note |
---|
The array created in this example is also used in the SlideShowNextBuild event example. |
Visual Basic for Applications |
---|
|
See Also