Partager via


Application.SlideShowBegin Event (PowerPoint)

Occurs when you start a slide show.

Syntax

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.

Remarks

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.

Example

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

See Also

Concepts

Application Object Members

Application Object