Programmer's Reference >
ExcelApplication API >
Cell > Value
Value Property
C# Signature:
VB.NET Signature:
Description:
| Sets or returns a cell value.
Value is a
read / write property.
|
Examples:
[csharp]
// Get Value
Object cellValue = cellA1.Value;
// Set Value
cellA1.Value = "value";
[vbnet]
' Get Value
Dim cellValue As Object = cellA1.Value
' Set Value
cellA1.Value = "value";
Getter |
Signature:
public Object
Value
Returns:
Object
The value the cell as an Object. If the cell contains a formula, the calculated value of the formula (from the last time the spreadsheet was opened in Excel) will be returned.
|
Setter |
Signature:
public void Value Object
value
Type:
Object
|
Copyright 2005 © SoftArtisans, Inc. All Rights Reserved.
|