Bold Property

 

The Bold property returns or sets the bold style for text. Returns a Boolean.

 

Syntax

object.Bold

object.Bold = Bold

 

Parameter

Type

Description

Bold

Boolean

required; true to make text bold

 

Example 1

This example demonstrates how to enable the bold style for text.

 

FontFormat.Bold = True

 

Example 2

This example returns the state of the bold style for text.

 

Debug.Print FontFormat.Bold

 

Used by: FontFormat object