Table of contents
TOC
Collapse the table of content
Expand the table of content

ChartTitle Object (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Represents the chart title.

Remarks

Use the ChartTitle property to return the ChartTitle object.

The ChartTitle object does not exist and cannot be used unless the HasTitle property for the chart is True.

Example

Note Although the following code applies to Microsoft Word, you can readily modify it to apply to PowerPoint.

The following example adds a title to the first embedded chart in the document.

With ActiveDocument.InlineShapes(1).Chart

    .HasTitle = True

    .ChartTitle.Text = "February Sales"

End With

See also

Concepts

PowerPoint Object Model Reference

© 2017 Microsoft