I am trying to make a piece of text bold at a particular cell but not able to. This is the code I am using:
Style boldStyle = workBook.CreateStyle();
boldStyle.BackgroundColor = Color.Red;
StyleFlag boldStyleFlag = new StyleFlag();
boldStyleFlag.HorizontalAlignment =true ;
boldStyleFlag.FontBold = true;
Cell c = workSheetIntroduction.Cells["B1"];
c.SetStyle(boldStyle, boldStyleFlag);