如何批量删除ppt中的动画效果?
发布网友
发布时间:2022-03-03 06:28
我来回答
共1个回答
热心网友
时间:2022-03-03 07:58
有很多办法,比较简单的是:在放映设置中设为“播放时不带动画”就可以了达到同样效果。或者你也可以在“自定义动画”对话框中选择要删除的动画序号(加ctrl键可以选择多个序号),然后点击“删除”。还有你也可以用VBa,如下:
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) < 10 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