Value2 property
TOC
Collapse the table of content
Expand the table of content

Range.Value2 property

Returns or sets the cell value.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Object Value2 { get; set; }

Property value

Type: System.Object

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.

Show:
© 2016 Microsoft