Table of contents
Collapse the table of content
Expand the table of content

Placeholders.FindByName Method (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Finds the placeholder in the Placeholders collection at the specified index location or with the specified name.


expression. FindByName( Index )

expression An expression that returns a Placeholders object.


NameRequired/OptionalData TypeDescription
IndexRequiredVariantThe index of the placeholder to be found.

Return Value



Because it takes a Variant, the FindByName method makes it possible to locate a member of the Placeholders collection by specifying either the index number (an Integer or Long ) or the name (a String ) of an individual placeholder. Unlike the corresponding methods of other collections, such as Shapes or Slides, the Item method of the Placeholders collection takes only a Long.


The following example shows how to use the FindByName method to select the title placeholder in slide one in the active presentation.

Public Sub FindByName_Example()

    PowerPoint.ActivePresentation.Slides(1).Shapes.Placeholders.FindByName("Title 1").Select

End Sub

See also


Placeholders Object

© 2018 Microsoft