CellWatchCollection

CellWatchCollection class

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

new CellWatchCollection()

Methods

NameDescription
add(row, column)Adds CellWatch with row and column.
add(cellName)Adds CellWatch with the name the of cell.
add()Reserved for internal use.
clear()
contains()Reserved for internal use.
get(index)Gets and sets CellWatch by index.
get(cellName)Gets and sets CellWatch by the name of the cell.
get()Reserved for internal use.
getCount()
indexOf()Reserved for internal use.
iterator()
removeAt()

add(row, column)

Adds CellWatch with row and column.

ParameterTypeDescription
rowNumberThe row index.
columnNumberThe column index.

Returns: Number — Number Returns the position of this item in the collection.

add(cellName)

Adds CellWatch with the name the of cell.

ParameterTypeDescription
cellNameStringThe name of the cell.

Returns: Number — Number

add()

Reserved for internal use.

clear()

contains()

Reserved for internal use.

get(index)

Gets and sets CellWatch by index.

ParameterTypeDescription
indexNumberThe index.

Returns: CellWatch — CellWatch

get(cellName)

Gets and sets CellWatch by the name of the cell.

ParameterTypeDescription
cellNameStringThe name of the cell.

Returns: CellWatch — CellWatch

get()

Reserved for internal use.

getCount()

indexOf()

Reserved for internal use.

iterator()

removeAt()