How to remove all animation effects in ppt at once?

Source: Internet
Author: User

Add a lot of animation effect in ppt, want a delete is too troublesome, we use some code technique here to delete all the animations in the PPT in bulk, don't understand the friends to learn together.

How to remove all animation effects in ppt at once?

Through the PPT software VBA to solve, almost searched all the websites, finally found the answer, the code for you to share.

The code is as follows:

Sub RemoveAll ()

Dim I as Integer:dim J as Integer

Dim Oactivepres as Object

Set oactivepres = ActivePresentation

With Oactivepres

For I = 1 to. Slides.count

If Val (application.version) < Then

For J = 1 to. Slides (I). Shapes.count

. Slides (I). Shapes (J). Animationsettings.animate = MsoFalse

Next J

Else

For J =. Slides (I). TimeLine.MainSequence.Count to 1 Step-1

. Slides (I). Timeline.mainsequence (J). Delete

Next J

End If

Next I

End With

Set oactivepres = Nothing

End Sub

Additional method Two:

The same effect can be achieved by setting the PPT to "play without animation" when the PPT show is set up.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.