TextEffectFormat.FontItalic Property

Excel Developer Reference

Returns msoTrue if the font in the specified WordArt is italic. Read/write MsoTriState.

Syntax

expression.FontItalic

expression   A variable that represents a TextEffectFormat object.

Remarks

MsoTriState can be one of these MsoTriState constants.
msoCTrue Does not apply to this property.
msoFalse The specified WordArt is not italic.
msoTriStateMixed Does not apply to this property.
msoTriStateToggle Does not apply to this property.
msoTrue The specified WordArt is italic.

Example

This example sets the font to italic for the shape named "WordArt 4" in myDocument.

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

See Also