ChartTitle 属性 (Excel)Chart.ChartTitle property (Excel)

返回一个**ChartTitle** 对象, 该对象代表指定图表的标题。Returns a ChartTitle object that represents the title of the specified chart. 此为只读属性。Read-only.



expression:一个表示 Chart 对象的变量。expression A variable that represents a Chart object.


本示例设置 Chart1 的标题文本。This example sets the text for the title of Chart1.

With Charts("Chart1") 
 .HasTitle = True 
 .ChartTitle.Text = "First Quarter Sales" 
End With

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.