TextFrame2.WordArtFormat property (PowerPoint)
Returns or sets the WordArt type for the specified text frame. Read/write.
expression. WordArtFormat
expression An expression that returns a TextFrame2 object.
MsoPresetTextEffect
The value of the WordArtFormat property can be one of these MsoPresetTextEffect constants.
This example shows how to set the word art format for shape one on slide one in the active presentation.
Public Sub WordArtFormat_Example()
Dim pptSlide As Slide
Set pptSlide = ActivePresentation.Slides(1)
pptSlide.Shapes(1).TextFrame2.WordArtFormat = msoTextEffect20
End Sub
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.