Share via


TextEffectFormat.FontSize Property

Excel Developer Reference

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 4" in myDocument.

Visual Basic for Applications
  Set myDocument = Worksheets(1)
myDocument.Shapes("WordArt 4").TextEffect.FontSize = 16

See Also