Share via

Italic Property

True if the font or range is formatted as italic. Returns True, False or wdUndefined (a mixture of True and False). Can be set to True, False, or wdToggle. Read/write Long.


This example formats the first word in the active document as italic.

ActiveDocument.Words(1).Italic = True

This example checks the selection for italic formatting and removes any that it finds.

If Selection.Type = wdSelectionNormal Then
    mySel = Selection.Font.Italic
    If mySel = wdUndefined or mySel = True Then
        MsgBox "There's italic text in selection. " _
            & "Click OK to remove."
        Selection.Font.Italic = False
        MsgBox "No italic text in the selection."
    End If
    MsgBox "You need to select some text."
End If

Applies to | Font Object | Range Object

See Also | Bold Property | Font Property | FormattedText Property | ItalicBi Property | ItalicRun Method | Underline Property