Closed Issue: Databars causing Unhandled Exception [8418]
Hi,opening a file with simple databars and saving the file without doing anything else is causing this exception.System.Collections.Generic.KeyNotFoundException: The given key was not present in the...
View ArticleClosed Issue: Range is invalid when saving a file [8406]
Hi, im trying to learn ClosedXML and doing some simple Tests with my Excel Template. private void testCX_direct() { XLWorkbook wb = new XLWorkbook(@"z:\xls\EAV_VU-Daten_Master_1.xlsx"); // öffnen...
View ArticleClosed Issue: "NaN" causes unreadable content error [8403]
I was getting "Excel found unreadable content" errors in some of my workbooks, but I finally tracked down the issue. To reproduce, start a new workbook and add "NaN" to one of the cells:Dim wb As New...
View ArticleClosed Issue: ValueCached shows null after I reopen the ClosedXML saved file...
I faced an issue while trying to recover a formula cell through ValueCache after saving the file through the workbook save method. Following are the steps to reproduce this issue:1) Open the attached...
View ArticleClosed Issue: Freeze + Cell select creates unreadable excel [8389]
Hi there,I found that whenever I do the following:sheet.SheetView.FreezeColumns(1);sheet.Cell(1, 1).Select();The Excel saved is unreadable by MS Excel. However, if I either don't select the first cell...
View ArticleClosed Issue: Version 68.1 changed order of Rows collection [8373]
I upgraded from version 67.2 to version 68.1 and now the following code does not work.int rowCount = 0;XLWorkbook sourceWB = new XLWorkbook(fileLocation);IXLWorksheet sourceWS =...
View ArticleClosed Issue: Issue with inserting and deleting row [8339]
I am still having issues with these edge cases when inserting and deleting rows, where cells are selected. As before I do not get library errors but, do get an error in excel when opening the file.I...
View ArticleCommented Issue: Workbook cannot be opened if it contains a table that is...
The following code results in an InvalidCastException when the Workbook contains a table where a column is filtered by the date. At example workbook is attached.```new...
View ArticleCommented Issue: Workbook cannot be opened if it contains a table that is...
The following code results in an InvalidCastException when the Workbook contains a table where a column is filtered by the date. At example workbook is attached.```new...
View ArticleNew Post: Identifier Expected
The following does work: namespace ClosedXML_Issues {class _443852 { public void Test() { string targetFile = this.ToString() + ".xlsx"; // Create workbook XLWorkbook wb = new XLWorkbook(); // Sheet1...
View ArticleNew Post: Reading call values for empty cells in first row
When I read the values from empty cells in the first row the values are returned as "Column1", "Column2" etc. How can I turn off this behaviour so the cell values are reported as an empty string? Thanks.
View ArticleNew Post: Reading call values for empty cells in first row
Do you have a table? If so you can use table.DataRange
View ArticleCommented Issue: Workbook cannot be opened if it contains a table that is...
The following code results in an InvalidCastException when the Workbook contains a table where a column is filtered by the date. At example workbook is attached.```new...
View ArticlePatch Uploaded: #14519
rhysparry has uploaded a patch.Description:Works around the filter issue by only using the current filtering logic on filters of type 'Filter'. This enables the opening of excel files with active date...
View ArticleNew Post: Case issues with Named Ranges
Hi, I am very pleased with the library overall, but am having one issue converting my application to this method vs. OLEDB. I have an application that goes after specific named ranges in a series of...
View ArticleNew Post: How to get value of reference??
Hi! I'm reading data from an Excel sheet, that contains references. For example in Excel the Cell C4 contains "='E-Modul'!D87". When I try to read the value of Cell C4 with ClosedXML, I need to get...
View ArticleCreated 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 Comment on "Conditional Formatting"
Hi!! How can I add another conditional format? Something like this code: ws.RangeUsed().AddConditionalFormat().WhenBetween(2, 3).Fill.SetBackgroundColor(XLColor.Red);...
View ArticleNew Post: How to Share a spreadsheet?
The above link tells how to share a workbook using OpenXML. Is this feature available with ClosedXML. If yes, can any one share the sample code.
View ArticleNew Post: The 'br' start tag on line 19 position 30 does not match the end...
Hello, In the below code, I just tried to update the cell values, but, while saving back to excel i got the exception. May anyone know the reason for it. Thanks in advance.CODE: var workBook = new...
View Article