DataTable object (Excel)
Represents a chart data table.
Use the DataTable property of the Chart object to return a DataTable object. The following example adds a data table with an outline border to embedded chart one.
With Worksheets(1).ChartObjects(1).Chart
.HasDataTable = True
.DataTable.HasBorderOutline = True
End With
- Application
- Border
- Creator
- Font
- Format
- HasBorderHorizontal
- HasBorderOutline
- HasBorderVertical
- Parent
- ShowLegendKey
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.