Share via


TextEffectFormat Object

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.


Aa662091.parchild(en-us,office.10).gifTextEffectFormat

Contains properties and methods that apply to WordArt objects.

Using the TextEffectFormat Object

Use the TextEffect property to return a TextEffectFormat object. The following example sets the font name and formatting for shape one on the first page of the active publication. For this example to work, shape one must be a WordArt object.

  Sub FormatWordArt()
    With ActiveDocument.Pages(1).Shapes(1).TextEffect
        .FontName = "Courier New"
        .FontBold = MsoTrue
        .FontItalic = MsoTrue
    End With
End Sub