Compartilhar via


Font.Bold Property

Excel Developer Reference

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.

Visual Basic for Applications
  Worksheets("Sheet1").Range("A1:A5").Font.Bold = True

See Also