DataSheet property (Excel Graph)

Returns the DataSheet object. Read-only.

Syntax

expression.DataSheet

expression Required. An expression that returns a DataSheet object.

Example

This example sets the value of cell A1 on the datasheet to 3.14159.

With myChart.Application 
 .DataSheet.Range("A1").Value = 3.14159 
End With

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.