Table of contents
TOC
Collapse the table of content
Expand the table of content

Master.TimeLine Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Returns a TimeLine object that represents the animation timeline for the slide. Read-only.

Syntax

expression. TimeLine

expression A variable that represents a Master object.

Return Value

TimeLine

Example

The following example adds a bouncing animation to the first shape on the first slide.

Sub NewTimeLineEffect()

    Dim sldFirst As Slide
    Dim shpFirst As Shape

    Set sldFirst = ActivePresentation.Slides(1)
    Set shpFirst = sldFirst.Shapes(1)

    sldFirst.TimeLine.MainSequence.AddEffect _
        Shape:=shpFirst, EffectId:=msoAnimEffectBounce

End Sub

See also

Concepts

Master Object

© 2018 Microsoft