Class TextEffectFormat (PowerPoint VBA)

Contains properties and methods that apply to WordArt objects.


To use a TextEffectFormat class variable it first needs to be instantiated, for example

Dim tef as TextEffectFormat
Set tef = ActiveWindow.RangeFromPoint.TextEffect

The following procedures can be used to set variables of type TextEffectFormat: Shape.TextEffect and ShapeRange.TextEffect


The following procedures in this class have been grouped together and are described on a separate theme page

Format with its procedures FontBold, FontItalic, FontSize and NormalizedHeight


Alignment returns or sets the alignment for the specified WordArt.

ActivePresentation.Slides(1).Shapes(1).TextEffect.Alignment = msoTextEffectAlignmentMixed

FontName returns or sets the name of the font in the specified WordArt.

ActivePresentation.Slides(1).Shapes(1).TextEffect.FontName = "Courier New"

KernedPairs determines whether the character pairs in the specified WordArt are kerned.

ActiveWindow.RangeFromPoint.TextEffect.KernedPairs = msoTrue

Parent returns the parent object for the specified object.

Dim objParent As Object
Set objParent = ActiveWindow.RangeFromPoint.TextEffect.Parent

PresetShape returns or sets the shape of the specified WordArt.

ActivePresentation.Slides(1).Shapes(1).TextEffect.PresetShape = msoTextEffectShapeMixed

PresetTextEffect returns or sets the style of the specified WordArt.

ActivePresentation.Slides(1).Shapes(1).TextEffect.PresetTextEffect = msoTextEffectMixed

RotatedChars determines whether characters in the specified WordArt are rotated 90 degrees relative to the WordArt's bounding shape.

ActiveWindow.RangeFromPoint.TextEffect.RotatedChars = msoTrue

Text returns or sets a String that represents the text contained in the specified object.

ActiveWindow.RangeFromPoint.TextEffect.Text =

Tracking returns or sets the ratio of the horizontal space allotted to each character in the specified text to the width of the character.

ActiveWindow.RangeFromPoint.TextEffect.Tracking =