包含指定對象的字體屬性(字體名稱、字體大小和顏色等)。
可用 Font 屬性返回 Font 對象。下例設置數(shù)值軸標題的文字,并將字體設置為 10 磅的 Bookman,然后將單詞“millions”設置為傾斜。
With myChart.Axes(xlValue)
.HasTitle = True
With .AxisTitle
.Caption = "Revenue (millions)"
.Font.Name = "bookman"
.Font.Size = 10
.Characters(10, 8).Font.Italic = True
End With