ExpertXls Excel Library for .NET
Value Property
Namespaces ► ExpertXls.ExcelLib ► ExcelRange ► Value
ExpertXls Excel Library for .NET
Gets or sets the cell value as an object. The setter will determine the value type (Boolean, DateTime or Number) from the specified object type. If it's not one these types range will be set with a Text value. If you simply want to set the range with a text you can use the Text property of the Range object. If you want to set a range with a formula string you can use the Formula or FormulaArray properties. If you want to set a range with an Error value you can use the ErrorValue property. If you want to disable the parsing of the string values and simply set the cell value to the specified string you can set ExcelWorksheet.ParseValueString = false.
Declaration Syntax

C# | Visual Basic | Visual C++

    public Object Value { get; set; }

    Public Property Value As Object

    public:
    property Object^ Value {
    	Object^ get ();
    	void set (Object^ value);
    }

Assembly: ExpertXls.ExcelLib (Module: ExpertXls.ExcelLib) Version: 2.1.0.0 (2.1.0.0)