Quantcast
Channel: ClosedXML - The easy way to OpenXML
Browsing all 1877 articles
Browse latest View live

Closed Unassigned: cant use closedXML [9484]

hi, i cant use ClosedXml. I'm using Visual Studio 2015 4.6 .NET framework i only created a new Windows Forms Application project with visual studio 2015.i added reference ClosedXML.dll.i added only a...

View Article


Closed Unassigned: Multiple SaveAs calls causes InvalidCastException [9483]

Version 0.76.0, Test case:``` XLWorkbook w = new XLWorkbook(); IXLWorksheet ret = w.Worksheets.Add("test"); w.SaveAs("test.xlsx"); ret.Cell("A1").Value = "test"; w.SaveAs("test"xlsx");```The first save...

View Article


Commented Unassigned: Multiple SaveAs calls causes InvalidCastException [9483]

Version 0.76.0, Test case:``` XLWorkbook w = new XLWorkbook(); IXLWorksheet ret = w.Worksheets.Add("test"); w.SaveAs("test.xlsx"); ret.Cell("A1").Value = "test"; w.SaveAs("test"xlsx");```The first save...

View Article

New Post: How to create a worksheet from a varbinary(max) field in sql server...

I am storing Excel files in varbinary(max) field in sql server. Now I need to read those files from varbinary(max) field into ClosedXML worksheet . How can I do that ? Thank you.

View Article

New Post: How to take part in excel files because when I save the file increases

Hello sorry for my english. I have to select a row of a excel file, put any new data and save them. In the end I see that the excel file is always larger than before although the data are not increased...

View Article


Created Unassigned: An item with the same key has already been added [9503]

Hi,I am getting this error while trying to process same excel workbook (.xlsx) file more than once.this error comes while initialization only. using (XLWorkbook workBook = new...

View Article

Created Unassigned: Classic PivotTable Layout Not Working [9504]

Hi,I am trying to get my pivot tables to display in the classic pivot table layout. Here is my code snippet..System.Data.DataTable tbl_records = db.GetReportRecords(sheet.SheetQuery); var cur_sheet =...

View Article

Updated Wiki: Home

We are moving!The latest version of ClosedXML and its source code can now be downloaded from our repository hosted at GitHub. Project DescriptionClosedXML makes it easier for developers to create Excel...

View Article


Closed Unassigned: Classic PivotTable Layout Not Working [9504]

Hi,I am trying to get my pivot tables to display in the classic pivot table layout. Here is my code snippet..System.Data.DataTable tbl_records = db.GetReportRecords(sheet.SheetQuery); var cur_sheet =...

View Article


Closed Unassigned: An item with the same key has already been added [9503]

Hi,I am getting this error while trying to process same excel workbook (.xlsx) file more than once.this error comes while initialization only. using (XLWorkbook workBook = new...

View Article

Closed Unassigned: Error doing data validation from another sheet [9498]

When using closedxml to add data validation to a file, all validations are written in the <x:dataValidations> element. However, this is not how excel saves data validation from other...

View Article

Closed Unassigned: Formula IFERROR not included [9493]

Hi, first of all: Thank you for the ClosedXML-API!I have a Worksheet with the formula "IFERROR(Auswertung!B113,""""), but I can't get the value.Is there a possibility to get the cell text without...

View Article

New Post: Opening XLSX file that is corrupt. Is there a recovery like Excel...

I have where I'm opening an XLSX excel file and it's corrupt. In Excel Interop there is an option to recover the corrupt file but was curious if ClosedXML has an option of recovering a XLSX excel file...

View Article


New Post: Feature request: Initial zoom of spreadsheet

Implemented at https://github.com/ClosedXML/ClosedXML/pull/180

View Article

Closed Issue: Excel found unreadable contents in 'xyz.xlsx'. Do you want to...

Hi, I am creating tables in excel sheets using InsertTable method by passing a list of object. ws.InsertTable(List<T>, true). Tables created successfully, but when i opened an excel file it show...

View Article


Closed Issue: Error message when opening the excel file when using styles on...

When setting Style properties on a RichText that contains only ".", or "\r" or "\n" or combinations of the above you get an error when opening the excel file and you have to recover the document.E.g.If...

View Article

Closed Issue: Watching a cell in debugger changes state [8018]

If a cell has a numeric value and the RichText property is evaluated, the dataType is set to "Text", and the value will return a string instead of a double. This is annoying when debugging, because...

View Article


Closed Issue: Get formatted string from ValueCached property [8021]

Is there a way to get the ValueCached string in a formatted way like GetFormattedString() method? I am trying to get the cached value of formula but I'm unable to get it in the underlying...

View Article

Closed Issue: Column.Delete does not update MergedCells reference [8022]

If you have merged cells A1:A5, and then delete column 3, the merged cell doesnt recognize that the merged column count should have changed. Meaning, the formatting continues to the new A5 (which was...

View Article

Closed Issue: Error When Opening Excel File: Unreadable Content: Removed...

Thanks in advance for trying to solve this issue with me. When I open my Excel File I get the following error:Excel found unreadable content in 'WorkBook.xlsx'. Do you want to recover... Then I choose...

View Article
Browsing all 1877 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>