DataTable Object (PowerPoint)
Represents a chart data table.
Version Information
Version Added: PowerPoint 2007
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