Master.TextStyles property (PowerPoint)

Returns a TextStyles collection that represents three text styles — title text, body text, and default text — for the specified slide master. Read-only.

Syntax

expression. TextStyles

expression A variable that represents a Master object.

Return value

TextStyles

Remarks

For information about returning a single member of a collection, see Returning an object from a collection.

Example

This example sets the font name and font size for level-one body text on slides in the active presentation.

With ActivePresentation.SlideMaster_

        .TextStyles(ppBodyStyle).Levels(1)

    With .Font

        .Name = "arial"

        .Size = 36

    End With

End With

See also

Master Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.