CellWatchCollection
Contents
[
Hide
]CellWatchCollection class
Represents the collection of cells on this worksheet being watched in the ‘watch window’.
class CellWatchCollection;
Constructors
| Name | Description |
|---|---|
| constructor() | Default Constructor. |
Methods
| Method | Description |
|---|---|
| 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. |
constructor()
Default Constructor.
constructor();
get(number)
Gets and sets CellWatch by index.
get(index: number) : CellWatch;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | number | The index. |
Returns
get(string)
Gets and sets CellWatch by the name of the cell.
get(cellName: string) : CellWatch;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| cellName | string | The name of the cell. |
Returns
add(number, number)
Adds CellWatch with row and column.
add(row: number, column: number) : number;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| row | number | The row index. |
| column | number | The 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:
| Parameter | Type | Description |
|---|---|---|
| cellName | string | The name of the cell. |