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

DataTable Object (PowerPoint)

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

Represents a chart data table.

Example

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

Use the DataTable property to return a DataTable object. The following example adds a data table with an outline border to embedded chart one.

With ActiveDocument.InlineShapes(1)

    If .HasChart Then

        .Chart.HasDataTable = True

        .Chart.DataTable.HasBorderOutline = True

    End If

End With

See also

Concepts

PowerPoint Object Model Reference

© 2017 Microsoft