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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top