FontItalic Property

Microsoft Word Visual Basic

MsoTriState can be one of these MsoTriState constants.
msoCTrue
msoFalse
msoTriStateMixed
msoTriStateToggle
msoTrue

expression.FontItalic

expression    Required. An expression that returns a TextEffectFormat object.

Example

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

Sub ItalicizeWordArt()
    ActiveDocument.Shapes("WordArt 4") _
        .TextEffect.FontItalic = msoTrue
End Sub