New Post: Input string was not in a correct format when reading cell value
Hi, Gettting "Input string was not in a correct format" exception when reading value from cell. Also tried "GetDouble()" as this cell contains formula that returns number, but the same exception is...
View ArticleNew Post: Input string was not in a correct format when reading cell value
I just encountered this bug as well. I think it happens when a formula references an empty cell. Excel evaluates an empty cell as zero, but ClosedXML throws an exception.
View ArticleCreated Unassigned: Style, colour, formulas when using...
i need to create some larger excel sheets using a "template" for colors, forumulas and styles.(template is attached).1st thing i do is adding the nr of needed rows...
View ArticleCommented Unassigned: System.OutOfMemoryException in v0.68.0.10, regression?...
Hello,In order to improve the speed of reading/writing of Excel files, I have recently updated ClosedXML from v0.64.0.0 to v0.68.0.10.The kind of Excel file that I deal with is a big file, embedding a...
View ArticlePatch Uploaded: #14770
S1 has uploaded a patch.Description:- Added workaround for 'XLCell.Value' crash, when Value would be a 'Percentage', e.g. "0.00%" but treated as 'Number' and cannot be parsed to double.The real fix...
View ArticleNew Post: Worksheets Incompatible with Excel 2007
Hello, I am using Closed XML to generate Excel reports in VB.NET in the following way: Workbook.SaveAs("myFile.xlsx") Dim BinaryData() As Byte = File.ReadAllBytes("myFile.xlsx")...
View ArticleNew Post: Excel 2013 - 2010 compatibility
Hello! I have the same problem. I also tried with native OpenXML -> SpreadsheetDocument.Open method (Stream, Boolean) see...
View ArticleCreated Unassigned: Background Cell Color [8860]
.Style.Fill.SetBackgroundColor() property sets the color pattern and not the background color : public XLColor BackgroundColor{..... get { return _patternColor; }..... _patternType = value.HasValue ?...
View ArticleCreated Unassigned: Excessive Memory allocation using Borders [8862]
Hi, I am creating a relatively simple spreadsheet (from a dataset/datatable) with 27 columns and around 2500 rows and while performance is much better than Excel Interop, using borders can cause memory...
View ArticleCreated Unassigned: German Special Characters Problem when Exporting to Excel...
Hello,i`m sucessfully exporting a GridView into Excel but when using german special characters (ä, ü, ö, ß) they get replaced with ü in the excel file. Is there a way to fix that problem? Not...
View ArticleNew Post: German Special Characters Problem when Exporting to Excel
Hello, i`m sucessfully exporting a GridView into Excel but when using german special characters (ä, ü, ö, ß) they get replaced with "& #252;" in the excel file. Is there a way to fix that problem?...
View ArticleCreated Unassigned: Open XML 2.5 [8873]
Hi,if i use Open XML 2.5 the ClosedXML library not work because, i thing, is compiled with Open XML 2.0.It 'will be a new implementation of ClosedXML with Open XML 2.5 version?Thanks
View ArticleNew Post: handle null date
Hello, when I export a datatable to excel if a date columns value is null then created excel file displays 1/0/1900 as the null date value. How can I ensure if the date value is null to not show...
View ArticleCreated Unassigned: Cell formating - missing [8876]
I'm using Closed XML (0.68.1) to read Template document and then to generate new documents from template, but problem is that formatting of cells (Border, colors, ...) is lost after first cycle.Below...
View ArticleCreated Unassigned: Evaluating Formulas with Round() [8877]
Hi,ClosedXML doesn't evaluate formulas with the Round() function.PS: Is their a list of supported / not supported functions?Greetings,Raidri
View ArticleCommented Unassigned: Evaluating Formulas with Round() [8877]
Hi,ClosedXML doesn't evaluate formulas with the Round() function.PS: Is their a list of supported / not supported functions?Greetings,RaidriComments: ** Comment from web user: Raidri ** Stack...
View ArticleCommented Unassigned: Request for the permission of type...
I am getting an error when I try to create an object XLWorkbook.Code :```var workbook = new XLWorkbook();```Message that I get :```Request for the permission of type...
View ArticleNew Post: 17 MB a WB with only one WS having 29 rows and 11 columns???
Hi all, I love ClosedXML. I've used it before to create WBs containing up to 20 WSs. Data source primarily .NET DataTables. I save these WBs files to a MSSQL DB as binary data. Most of these WBs are of...
View ArticleNew Post: Background colour of cells being lost
Hi, I am opening an existing excel file to use as a template. There is a grey background in the template surrounding a "form" in each worksheet. After setting values of certain cells within the form...
View Article