cells method

This method returns a Range object that represents a cell or all the cells in the specified range.

Defined in

Range

Syntax

public Range cells()
public Range cells( int rowIndex) throws SymphonyException	
public Range cells(int rowIndex, int columnIndex)  throws SymphonyException

Parameters

int rowIndex

Specifies the row index in the range, starting at 1.If the row index is out of bounds, this method throws an exception.

int columnIndex

Specifies the column index in the range, starting at 1.If the column index is out of bounds, this method throws an exception.

Return Value

range

  • cells() returns a Range object that represents the whole range.
  • cells( int rowIndex) returns a Range object that represents a row of the range.
  • cells(int rowIndex, int columnIndex) returns a Range object that represents a cell.

See examples

Example: cells method