Share via


Bold Property

Font object: True if the specified font is bold. Read/write Variant (returns Null if some cells in the range are bold and some are not). Use the IsNull function to determine whether the return value is Null.

PivotFont and ChFont objects: Returns or sets a Boolean that determines whether the font for the specified object is bold. Read/write.

expression.Bold

*expression   * Required. An expression that returns one of the above objects.

Example

This example sets font properties for the specified axis in the chart workspace.

Sub SetAxisFont() Dim axs Set axs = ChartSpace1.Charts(0).Axes(1) axs.Font.Name = "Arial" axs.Font.Size = 8 axs.Font.Bold = True End Sub

Applies to | ChFont Object | Font Object | PivotFont Object

See Also | Font Property | Italic Property | TotalFont Property | Underline Property