0
0 Comments

I am trying to style some cells, I’d like to use the standard “Hyperlink” Style, but I am unable to find it.

here is my best guess code, but the Workbook does not contain a style other than “standard”

code:
<code> var hLinkStyle = (from s in dataSheet.Workbook.Styles.NamedStyles where s.Name == "Hyperlink" select s).FirstOrDefault();
hyperlinkCell.StyleName = hLinkStyle.Name;

you can add a hyperlink to your worksheet by pressing

Nilesh Raut Changed status to publish July 21, 2023