Application.SlideShowBegin event (PowerPoint)
Occurs when you start a slide show.
expression A variable that represents an Application object.
|Wn||Required||SlideShowWindow||The slide show window initialized prior to this event.|
Microsoft PowerPoint creates the slide show window and passes it to this event. If one slide show branches to another, the SlideShowBegin event does not occur again when the second slide show begins.
For information about using events with the Application object, see How to: Use Events with the Application Object.
This example adjusts the size and position of the slide show window and then reactivates it.
Private Sub App_SlideShowBegin(ByVal Wn As SlideShowWindow) With Wn .Height = 325 .Width = 400 .Left = 100 .Activate End With End Sub
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.