Font property (Excel Graph)

Returns a Font 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.

Syntax

expression.Font

expression Required. An expression that returns a Font object.

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 

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.