Italic Property

Microsoft Excel Visual Basic

Italic Property

       

True if the font style is italic. Read/write Boolean.

Example

This example sets the font style to italic for the range A1:A5 on Sheet1.

Worksheets("Sheet1").Range("A1:A5").Font.Italic = True