Skip to main content

Font.Italic property

Table of contents
  1. Syntax
  2. Example

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

Syntax

expression.Italic

expression A variable that represents a Font object.

Example

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

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

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>