Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
82 lines (52 loc) · 3.34 KB

animationsettings-object-powerpoint.md

File metadata and controls

82 lines (52 loc) · 3.34 KB
title keywords f1_keywords ms.prod api_name ms.assetid ms.date
AnimationSettings Object (PowerPoint)
vbapp10.chm565000
vbapp10.chm565000
powerpoint
PowerPoint.AnimationSettings
ebbe4257-236b-35b4-bdf1-e92a1b4b417b
06/08/2017

AnimationSettings Object (PowerPoint)

Represents the special effects applied to the animation for the specified shape during a slide show.

Example

Use the AnimationSettingsproperty of the Shape object to return the AnimationSettings object. The following example adds a slide that contains both a title and a three-item list to the active presentation, and then it sets the list to be animated by first-level paragraphs, to fly in from the left when animated, to dim to the specified color after being animated, and to animate its items in reverse order.

Set sObjs = ActivePresentation.Slides.Add(2, ppLayoutText).Shapes

sObjs.Title.TextFrame.TextRange.Text = "Top Three Reasons"

With sObjs.Placeholders(2)

    .TextFrame.TextRange.Text = _

        "Reason 1" & VBNewLine & "Reason 2" & VBNewLine & "Reason 3"

    With .AnimationSettings

        .TextLevelEffect = ppAnimateByFirstLevel

        .EntryEffect = ppEffectFlyFromLeft

        .AfterEffect = ppAfterEffectDim

        .DimColor.RGB = RGB(100, 120, 100)

        .AnimateTextInReverse = True

    End With

End With

Properties

Name
AdvanceMode
AdvanceTime
AfterEffect
Animate
AnimateBackground
AnimateTextInReverse
AnimationOrder
Application
ChartUnitEffect
DimColor
EntryEffect
Parent
PlaySettings
SoundEffect
TextLevelEffect
TextUnitEffect

See also

Other resources

PowerPoint Object Model Reference