Value property

This property returns the value from the first cell in this range or sets the value to all cells in this range.

Defined in

Range

Data type

double

Syntax

public double getValue() 
public void setValue(double value)

Usage

The Value property is used for calculate formula. If there is no value for Text property, the range will display the Value property in the cells, If both Value and Text property have value, the range display the Text property in the cells.

See examples

Example: Value property