The setLink
function is used to set a link into a cell.
var excel = new Excel("test.xlsx");
excel.createSheet("newSheet")
.createSheet("linkSheet")
.setLink("newSheet","A1","#\'linkSheet\'!A1"); // To set a link into a cell.
Calling | Returning |
---|---|
excel. setLink ( sheetName, position, linkUrl ) |
Excel |
Parameters | Type | Description |
---|---|---|
sheetName |
String |
The sheet name. |
position |
String |
The cell position for adding a link. |
linkUrl |
String |
The URL for linking to a sheet. |