FontItalic Property

Microsoft Excel Visual Basic

Show All

FontItalic Property

       

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

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.

expression.FontBold

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

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

Set myDocument = Worksheets(1)
myDocument.Shapes("WordArt 4").TextEffect.FontItalic = msoTrue