Value2 Property

Applies To

Range object.

Description

Returns or sets the cell value. Read/write Variant.

Remarks

The only difference between this property and the Value property is that the Value2 property doesn't use the Currency and Date data types. You can return values formatted with these data types as floating-point numbers by using the Double data type.

Example

This example uses the Value2 property to add the values of two cells.

Range("A1").Value2 = Range("B1").Value2 + Range("C1").Value2