Application.SlideShowBegin Event (PowerPoint)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Occurs when you start a slide show.

expression .SlideShowBegin(Wn)

expression A variable that represents an Application object.

Parameters

Name

Required/Optional

Data Type

Description

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


Show: