none
Powerpoint - Split Slides for PDF RRS feed

  • Question

  • Hi,

    I am creating pdf from PowerPoint slides, which have lot of animations. Before creating pdf, I want to remove all the animations and if any shape is at the back of another shape in animation, a new slide should be created for that back shape in the same position.

    Please do the needful.

    Thanks and Regards,
    balumail75.

    Tuesday, September 30, 2014 10:25 AM

Answers

  • Hi,

    Here is a VBA code which can help you remove all the animations.

    Sub StripAllBuilds()
        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) < 10 Then
                 
                    ' Older versions of PowerPoint 97/2000
                        
                    ' In each slide set the animation property
                        
                    ' of the Shape object to FALSE
                        
                    For J = 1 To .Slides(I).Shapes.Count
                            
                        .Slides(I).Shapes(J).AnimationSettings.Animate = msoFalse
                        
                    Next J
                
                Else
                  
                     ' New versions support the Timeline object
                        
                    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

    >> if any shape is at the back of another shape in animation, a new slide should be created for that back shape in the same position.<<

    But it's hard for us to detect whether some shapes in the same position, we have to compare the position of every shape with others and I think it will be complex.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, October 1, 2014 7:54 AM
    Moderator