Returns the URL of the hyperlink attached to a cell in the active sheet of a spreadsheet workbook, or an empty string if the cell has no hyperlink. Rows and columns are 1-based. The fluent member form is getCellHyperlink(row, column).
spreadsheetGetCellHyperlink(spreadsheetObj, row, column)
→ returns string
Set a hyperlink on B2 and read its URL back.
wb = Spreadsheet("xlsx");
spreadsheetSetCellHyperlink(wb, "https://example.com", 2, 2, "Open link");
writeDump(spreadsheetGetCellHyperlink(wb, 2, 2));
Expected Result: https://example.com
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.