Share via


Title Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Returns a ChTitle object that represents the title of the specified axis or chart.

expression.Title

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

This example sets the specified chart to include a title and sets the title text.

  Sub SetChartTitle()

   ' Enable the chart title.
   ChartSpace1.Charts(0).HasTitle = True

   ' Set the chart title.
   ChartSpace1.Charts(0).Title.Caption = "Satisfaction Data"

End Sub