setCellInternalLink
On this page
Set an internal (within-workbook) link on a cell.
Internal links are prefixed with "#" to distinguish them from external URLs.
setCellInternalLink(cell: CellObject, range: string, tooltip?: string): CellObject
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
cell | CellObject | Yes | The cell object to modify |
range | string | Yes | The target cell reference or range string (e.g. "Sheet2!A1") |
tooltip | string | No | Optional tooltip text shown on hover |
Returns
The same cell object, for chaining