cells method

This method returns a Range object that represents a whole sheet, an entire row, or a cell.

Defined in

Sheet

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 sheet, starting at 1.

int columnIndex

Specifies the column index in the sheet, starting at 1.

Return Value

range

  • The cells() method returns a Range object that represents the whole sheet.
  • The cells( long rowIndex ) method returns a Range object that represents a row.
  • The cells( long rowIndex, long columnIndex ) method returns a Range object that represents a cell.

See examples

Example: cells method