Ask Your Question

Macro to remove all custom animations from an Impress file?

asked 2020-09-20 10:50:42 +0100

sarciness gravatar image

updated 2020-09-23 14:36:48 +0100

I am modifying many .pptx files and want to update them to remove custom animations. I'd rather not do this manually and I understand that this might be possible using Macros.

Could someone make one for me and/or recommend a place where I can learn how to do this (as a total beginner)?

edit retag flag offensive close merge delete


Which type of animations do you mean? Animated GIF-s, animated objects on the slides, or animated transitions between the slides?

Zizi64 gravatar imageZizi64 ( 2020-09-20 21:33:27 +0100 )edit

It's the "fly-in" or "diasappear" type of custom animations that act on objects in the presentations.

sarciness gravatar imagesarciness ( 2020-09-21 04:44:45 +0100 )edit

Do you want to delete these objects, or do you want to switch off the animation property of these objects?

Can you upload an ODF type sample file here?

Zizi64 gravatar imageZizi64 ( 2020-09-21 09:39:26 +0100 )edit

1 Answer

Sort by » oldest newest most voted

answered 2020-09-20 20:49:38 +0100

updated 2020-09-20 21:05:38 +0100


a good place to start with macro programming is here:

I already looked at the Impress stuff and i think what you are looking for could be

"Presentation shapes" (OOME_4_0.odt Chapter: 16.4.2)

The "Effect" property in the tables looks promising. (see below)

You could maybe write a macro which loops over all "Presentation shapes" and see which have the "Effect" property set. ... And maybe unset it. Not sure if that would work, for all your custom animatinos.

If you need more help or pointers, just ask in the comments, or make it another question.

image description

Hope that helps.

To show the community your question has been answered, click the ✓ next to the correct answer, and "upvote" by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

Have a nice day and let's (continue to) "Be excellent to each other!"

Ask / Getting Started:

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-09-20 10:50:42 +0100

Seen: 40 times

Last updated: Sep 23