Skip to main content

Font.Bold property

Table of contents
  1. Syntax
  2. Example

True if the font is bold. Read/write Variant.

Syntax

expression.Bold

expression A variable that represents a Font object.

Example

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

Worksheets("Sheet1").Range("A1:A5").Font.Bold = 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>