Apologies but I'm new to this, I've picked up a project from a colleague that left (with no handover). I opened up his project and noticed a missing reference of NPOI. I downloaded the latest version and updated the reference, now when I try to build the project
I get the following error:
NPOI.SS.UserModel.FontBoldWeight' does not contain a definition for 'BOLD'
which relates to the following code:
IFont titleFont = _Workbook.CreateFont();
titleFont.Boldweight = (short)FontBoldWeight.BOLD;
I know this was built previously as there is a version of the application that works. Any help would be appreciated.