Skip to content

Latest commit

 

History

History
75 lines (40 loc) · 1.95 KB

PowerPoint.Application.SlideShowEnd.md

File metadata and controls

75 lines (40 loc) · 1.95 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Application.SlideShowEnd event (PowerPoint)
vbapp10.chm621014
vbapp10.chm621014
PowerPoint.Application.SlideShowEnd
e46f8177-e00b-6704-1606-dbf9e96bf812
06/08/2017
medium

Application.SlideShowEnd event (PowerPoint)

Occurs after a slide show ends, immediately after the last SlideShowNextSlide event occurs.

Syntax

expression. SlideShowEnd( _Pres_ )

expression An expression that returns an Application object.

Parameters

Name Required/Optional Data type Description
Pres Required Presentation The presentation closed when this event occurs.

Remarks

The SlideShowEnd event always occurs before a slide show ends if the SlideShowBegin event has occurred. Use the SlideShowEnd event to return any property settings and variable initializations that occur in the SlideShowBegin event to their original settings.

For information about using events with the Application object, see How to: Use Events with the Application Object.

Example

This example turns off the entry effect and automatic advance timing slide show transition effects for slides one through four at the end of the slide show. It also sets the slides to advance manually.

Private Sub App_SlideShowEnd(ByVal Pres As Presentation)

    With Pres.Slides.Range(Array(1, 4)) _
            .SlideShowTransition

        .EntryEffect = ppEffectNone

        .AdvanceOnTime = msoFalse

    End With



    With Pres.SlideShowSettings

        .AdvanceMode = ppSlideShowManualAdvance

    End With

End Sub

See also

Application Object

[!includeSupport and feedback]