Font Property

Applies To

AxisTitle Object, Button Object, Buttons Collection, Characters Object, ChartArea Object, ChartTitle Object, DataLabel Object, DataLabels Collection, DrawingObjects Collection, GroupObject Object, GroupObjects Collection, Legend Object, LegendEntry Object, Range Object, Style Object, TextBox Object, TextBoxes Collection, TickLabels Object.

Description

Accessor. Returns a Font object that represents font of the specified object. Read-only.

See Also

Font Object.

Example

This example sets the font in cell B5 on Sheet1 to 14-point bold italic.


With Worksheets("Sheet1").Range("B5").Font
    .Size = 14
    .Bold = True
    .Italic = True
End With