Value Property

Microsoft Graph Visual Basic

expression.Value(RangeValueDataType)

expression    Required. An expression that returns one of the objects in the Applies To list.

RangeValueDataType   Optional Variant.

Example

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

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