Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
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
PowerPoint Object Model Reference
Support and feedback
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.