Font Property

Microsoft Graph Visual Basic

object that represents the font of the specified object. Read/write Font object only for the DataSheet object, for all other objects, read-only Font object.

expression.Font

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

Example

This example sets the font in the chart title to 14-point bold italic.

With myChart.ChartTitle.Font
    .Size = 14
    .Bold = True
    .Italic = True
End With