ChartFont.Size property (Word)

Returns or sets the size of the font. Read/write Variant.

Syntax

expression.Size

expression A variable that represents a 'ChartFont' object.

Example

The following example sets the font size for the title of the first chart in the active document to 12 points.

With ActiveDocument.InlineShapes(1) 
 If .HasChart Then 
 .Chart.Title.Characters.Font.Size = 12 
 End If 
End With 

See also

ChartFont Object

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.