Message-ID: <1581197295.9035.1711673619713.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_9034_1694238524.1711673619713" ------=_Part_9034_1694238524.1711673619713 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Cells

Cells

Description

=20

A Cells collection represents the se= t of cells in a worksheet.

=20
C#
=20
[DefaultMember("Item")]
 public sealed class Cells
=20
=20
vb.net
=20
<DefaultMember("Item")> _
=09Public NotInheritable Class Cells
=20
=20

Examples

=20
C#
=20

          ExcelApplication xla =3D new ExcelApplication();
          Workbook wb =3D xla.Create();
          Worksheet ws =3D wb.Worksheets[0];
          Cells cls =3D ws.Cells;
        
=20
=20
vb.net
=20

          Dim xla As New ExcelApplication()
          Dim wb As Workbook =3D xla.Create()
          Dim ws As Worksheet =3D wb.Worksheets(0)
          Dim cls As Cells =3D ws.Cells
        
=20
=20

Indexers

=20
=20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20

Name

Description

Item(Int32, Int32)

Represents a single cell in a Cells collection. It= em is the indexer of the Cells collection, so Cells[= 0, 0] is equivalent to Cells.Item[0, 0].

Item(String)

Represents a single cell in a Cells collection. It= em is the indexer of the Cells collection, so Cells[= "A1"] is equivalent to Cells.Item["A1"].
------=_Part_9034_1694238524.1711673619713--