Class PlaceholderFormat (PowerPoint VBA)
Contains properties that apply specifically to placeholders, such as placeholder type. To use a PlaceholderFormat class variable it first needs to be instantiated, for example
Dim pft as PlaceholderFormat
Set pft = ActiveWindow.RangeFromPoint.PlaceholderFormat
ContainedType
Returns the type of the shape that contains the specified placeholder format.
The value returned by the ContainedType property can be one of the MsoShapeType constants.
Dim mstContainedType As Office.MsoShapeType
mstContainedType = ActiveWindow.RangeFromPoint.PlaceholderFormat.ContainedType
Name
Returns or sets the name of the specified object.
ActiveWindow.RangeFromPoint.PlaceholderFormat.Name =
Position
Dim lngPosition As Long
lngPosition = ActiveWindow.RangeFromPoint.PlaceholderFormat.Position
Type
Represents the type of placeholder. Here you can find possible values for
The value of the Type property can be one of these PpPlaceholderType constants.
Dim pptType As PpPlaceholderType
pptType = ActiveWindow.RangeFromPoint.PlaceholderFormat.Type