Reputation: 93
When I insert slide numbers in PowerPoint they change automatically if I add or remove a slide. But if I change slide number manually in one of the slide number shapes this shape does not change automatically anymore. I would like to know is there a VBA property to check will slide number be changing automatically or not?
Upvotes: 0
Views: 81
Reputation: 196
Try this:
On Error Resume Next
currentSlide.DisplayMasterShapes = True
currentSlide.HeadersFooters.Clear
currentSlide.HeadersFooters.Footer.visible = msoTrue
currentSlide.HeadersFooters.SlideNumber.visible = msoTrue
On Error GoTo 0
Upvotes: 1