Add Hyperlink
add_hyperlinkAdd a hyperlink to a cell in an already-open Excel workbook, using a URL or '#'-prefixed internal reference, with optional display text and screen tip. Returns JSON confirmation.
Instructions
Add a hyperlink to a cell.
Args: workbook: Workbook name or path (None = active workbook). sheet: Worksheet name (None = active sheet). cell: A1-style single-cell reference, e.g. "B2". address: Target URL (e.g. "https://example.com"), or an internal reference prefixed with '#' (e.g. "#Sheet2!A1"). text_to_display: Text shown in the cell (None = the address itself). screen_tip: Tooltip text shown on hover.
Returns: JSON confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell | No | A1 | |
| sheet | No | ||
| address | No | ||
| workbook | No | ||
| screen_tip | No | ||
| text_to_display | No |