I'm creating an Excel report using GemBox.Spreadsheet, but having trouble getting multiple hyperlinks to appear in the same cell. Below is the code:
cell = sheet.Range[rowId, colId++];
foreach (var doc in item.Documents)
{
var h = sheet.HyperLinks.Add(cell);
h.Type = ExcelHyperLinkType.Url;
h.Address = doc.Url.Contains("://") ? doc.Url : @"http://" + doc.Url;
h.TextToDisplay = doc.UrlWords;
}
When I look at the results, only the last link appears.