CellWatchCollection

CellWatchCollection class

Represents the collection of cells on this worksheet being watched in the ‘watch window’.

class CellWatchCollection;

Constructors

NameDescription
constructor()Default Constructor.

Methods

MethodDescription
get(number)Gets and sets CellWatch by index.
get(string)Gets and sets CellWatch by the name of the cell.
add(number, number)Adds CellWatch with row and column.
add(string)Adds CellWatch with the name the of cell.
getCount()Gets the number of elements contained in.
isNull()Checks whether the implementation object is null.

constructor()

Default Constructor.

constructor();

get(number)

Gets and sets CellWatch by index.

get(index: number) : CellWatch;

Parameters:

ParameterTypeDescription
indexnumberThe index.

Returns

CellWatch

get(string)

Gets and sets CellWatch by the name of the cell.

get(cellName: string) : CellWatch;

Parameters:

ParameterTypeDescription
cellNamestringThe name of the cell.

Returns

CellWatch

add(number, number)

Adds CellWatch with row and column.

add(row: number, column: number) : number;

Parameters:

ParameterTypeDescription
rownumberThe row index.
columnnumberThe column index.

Returns

Returns the position of this item in the collection.

add(string)

Adds CellWatch with the name the of cell.

add(cellName: string) : number;

Parameters:

ParameterTypeDescription
cellNamestringThe name of the cell.

getCount()

Gets the number of elements contained in.

getCount() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;