TextEffectFormat.FontSize property (Word)

Returns or sets the font size for the specified WordArt, in points. Read/write Single.

Syntax

expression. FontSize

expression A variable that represents a 'TextEffectFormat' object.

Example

This example sets the font size to 16 points for the shape named "WordArt 2" in the active document.

Dim docActive As Document 
 
Set docActive = ActiveDocument 
docActive.Shapes("WordArt 2").TextEffect.FontSize = 16

See also

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