I'm trying to delete all slides on a PowerPoint shape with VBA. What i'm trying to do is simply:
For Each sld In ActivePresentation.Slides
For Each sh In sld.Shapes
sh.Delete
Next
Next
But this does not delete all shapes as illustrated in the image below: (The grey arrow is a shape i'm adding before running the code below, but doesn't dissapear either)
Any idea on what i'm doing wrong?