VBA Powerpoint - identifying textboxes by type

Hi everyone,

I'm writing an add-in for Powerpoint 2003. I'd like to know how I can identify textboxes by type if such a thing exists. For example, when reading a TextFrame, how do I know if I'm reading the title textbox, the subtitle, or a the big textbox with bulleted points depending on the slide model I've found the Shapes.Title property, but that only gives me the title if it exists, not the value of the subtitle or the default big textbox with bulleted points that you find on a default slide. Is there some property somewhere that I'm missing

Thanks a lot,

Pete


Answer this question

VBA Powerpoint - identifying textboxes by type

  • enric vives

    I might not have explained myself very clearly with my first post. What I want is a way to know for sure that I'm reading the big, default textbox with the bulleted points. I'm only interested in what's inside there, not any other shapes or textboxes on the slide. Thanks.

  • todd_bulky

    Thanks, that works great. Problem solved!

  • Joseph22

    Hi,

    How about using PlaceHolderFormat

    Try these in the immediate window.
    activepresentation.SlideMaster.Shapes(4).PlaceholderFormat.Type
    activepresentation.Slides(1).Shapes(1).PlaceholderFormat.Type



  • VBA Powerpoint - identifying textboxes by type