Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 803 Bytes

Excel.Chart.DataTable.md

File metadata and controls

39 lines (25 loc) · 803 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Chart.DataTable property (Excel)
vbaxl10.chm149098
vbaxl10.chm149098
Excel.Chart.DataTable
e977daf1-45a1-a069-3d6c-afbe13724d11
04/16/2019
medium

Chart.DataTable property (Excel)

Returns a DataTable object that represents the chart data table. Read-only.

Syntax

expression.DataTable

expression A variable that represents a Chart object.

Example

This example adds a data table with an outline border to the embedded chart.

With Worksheets(1).ChartObjects(1).Chart 
 .HasDataTable = True 
 .DataTable.HasBorderOutline = True 
End With

[!includeSupport and feedback]