VBA:How to determine if a certain slide has no title object?

  • Thread starter Thread starter An
  • Start date Start date
A

An

I'd like to know whether a certain slide's title
has been deleted in a presentation.For if there is
no title in a slide,the following code would not
work.

Title = ActivePresentation.Slides(I).Shapes.Title.TextFrame.TextRange.Text
 
Right, that would return a -1 for True and a 0 for false.
Brian Reilly, MVP
 
Back
Top