R
ruth
I built a small macro to eliminate subtitle placeholders on title slides.
Works terrific on a single slide, but needs to also work on multiple slides.
Sub PlacehldrSubTlDel()
Dim Sld As Slide
For Each Sld In ActiveWindow.Selection.SlideRange
ActiveWindow.Selection.SlideRange.Shapes.Placeholders(2).Delete
Next Sld
End sub
When multiple slides are selected, it throws this error out: "PowerPoint has
found an error that it can't correct. You should save presentations, quit,
and then restart PowerPoint." It stops on the first occurance of the delete
command, which I find odd because it does it fine with a single slide. Also,
it works well manipulating Placeholders(2) in other ways even with multiple
slides - it just chokes when deleting them with multiple slides.
Can someone help me understand why it errors and how I might better work it?
I work with PowerPoint version XP and all the selected slides are title
slides with subtitle placeholders present.
Works terrific on a single slide, but needs to also work on multiple slides.
Sub PlacehldrSubTlDel()
Dim Sld As Slide
For Each Sld In ActiveWindow.Selection.SlideRange
ActiveWindow.Selection.SlideRange.Shapes.Placeholders(2).Delete
Next Sld
End sub
When multiple slides are selected, it throws this error out: "PowerPoint has
found an error that it can't correct. You should save presentations, quit,
and then restart PowerPoint." It stops on the first occurance of the delete
command, which I find odd because it does it fine with a single slide. Also,
it works well manipulating Placeholders(2) in other ways even with multiple
slides - it just chokes when deleting them with multiple slides.
Can someone help me understand why it errors and how I might better work it?
I work with PowerPoint version XP and all the selected slides are title
slides with subtitle placeholders present.