Italic Property

Microsoft PowerPoint Visual Basic

Italic Property

       

Determines whether the character format is italic. Read/write MsoTriState.

MsoTriState can be one of these MsoTriState constants.
msoCTrue
msoFalse The character format is not italic. 
msoTriStateMixed The specified text range contains both italic and nonitalic characters.
msoTriStateToggle
msoTrue The character format is italic.

Example

This example sets the title text on slide one and makes the title blue and italic.

With Application.ActivePresentation.Slides(1) _
        .Shapes.Title.TextFrame.TextRange
    .Text = "Volcano Coffee"
    With .Font
        .Italic = msoTrue
        .Name = "palatino"
        .Color.RGB = RGB(0, 0, 255)
    End With
End With