Description

With the help of this property user can get an access to any cell of the workbook. The property is available after opening the Excel file.

Namespace:  DuoDimension.Databeam
Assembly:  Databeam.Excel (in Databeam.Excel.dll)
Version: 2.1.0.0

Syntax

      
 C#  Visual Basic 
public Array[] Cells { get; set; }
Public Property Cells As Array()

Examples

CopyC#
DuoDimension.Databeam.Excel convert = new DuoDimension.Databeam.Excel("*******");
if (convert.IsExcelInstalled == true)
{
    if (convert.OpenXls(@"d:\test.xls") == 0)
    {
        if (convert.Cells[0] != null)
        {
            convert.Cells[0].SetValue("Test string", 1, 1);
        }
        convert.XlsToHtml(1, "", @"d:\test.html");
    }
}
CopyVB.NET
Dim convert As New DuoDimension.Databeam.Excel("*******")
If convert.IsExcelInstalled = True Then
    If convert.OpenXls("d:\test.xls") = 0 Then
        If Not convert.Cells(0) = NULL Then
            convert.Cells(0).SetValue("Test string", 1, 1)
        End If
        convert.XlsToHtml(1, "", "d:\test.html")
        Next i
    End If
End If

See Also