Shape.TextEffect property (Word)

Returns a TextEffectFormat object that contains text-effect formatting properties for the specified shape. Read-only.

Syntax

expression.TextEffect

expression A variable that represents a Shape object.

Remarks

This property applies to Shape objects that represent WordArt.

Example

This example sets the font style to bold for shape three on myDocument if the shape is WordArt.

Set myDocument = ActiveDocument 
With myDocument.Shapes(3) 
 If .Type = msoTextEffect Then 
 .TextEffect.FontBold = True 
 End If 
End With

See also

Shape 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.