Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

...

Wiki Markup
{description}
{excerpt}Returns the cell at the specified Excel-style reference. This property is an indexer for the [Worksheet|Worksheet] class.

...

Signature
C#C#
{excerpt}
{signature:C#}
 public Cell this[string reference] { get; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Default ReadOnly Property Item(ByVal reference As String) As Cell
Parameters
{returns}
{example}{code:csharp|title=C#}
          //--- Get Cell by Excel-style reference
          Cell cellA1 = ws["A1"];
        
{code}
{code:vb.net
|title=vb.net
}
          '--- Get Cell by Excel-style reference
          Dim cellA1 As Cell = ws("A1")
        {code}

{example}
Param
rowNumberrowNumberThe
{signature}
{parameters}
{param:rowNumber}The Excel-style reference of the cell to retrieve.
Param
columnNumbercolumnNumberThe
{param}
{param:columnNumber}The Excel-style reference of the cell to retrieve.
Returns
A Cell object representing the cell at the specified
{param}
{returns}A [Cell|Cell] object representing the cell at the specified Excel-style reference.
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle