New Post: Am I using NamedRanges correctly?
Maybe too old but I have the following problem. When I use AddToNamed i get the folloing =Source!$A$1:$E$1,Source!$A$2:$E$63. This wrecks my pivot table data since it is based on the Source Named...
View ArticleNew Post: Convert range to table, treat all rows as data rows
Code which exports data from worksheet to datatable (iterative approach):/// <summary> /// Exports data and column names from ClosedXML worksheet to DataTable /// </summary> public static...
View ArticleNew Post: Problem trying to save a workbook
I am having a strange problem when trying to save a particular workbook - the error is:"Unable to determine the identity of domain." ...and the stacktrace: at...
View ArticleCommented Unassigned: Use of AddConditionalFormat > Unreadable XLS [9460]
Hi,I'm opening/modifying/saving an existing Excel 2010 file. When I don't use conditional formatting > no pb to read it with MS Excel 2010 once I made the modifications. When I use conditional...
View ArticleNew Post: Is a .Net Framework 4.5 or 4.5.1 release of ClosedXml coming for VS...
Is there any update yet? I'm looking for compatibility with .NetFramework 4.5.1 and Visual Studio 2013. Or, has anyone got experience they can share regarding using the .Net 4.0 version of ClosedXML in...
View ArticleNew Post: Formula support - IRR & NPV
Hello, Is there any plan to support additional advanced formulas as NPV and IRR in a future version of ClosedXML? Thanks
View ArticleNew Post: Best practice for using ClosedXML in an Excel AddIn?
I am sure you folks are aware of the ambiguity between the assemblies: Microsoft.Office.Interop.Excel and Microsoft.Office.Tools.Excel My applications (AddIns) are becoming more and more complex. After...
View ArticleNew Post: Best practice for using ClosedXML in an Excel AddIn?
I just discovered that my AddIns do not even use ClosedXML. So the question becomes: How to use OpenXML inside AddIns? TIA
View ArticleNew Comment on "Adding an AutoFilter to a Range"
Hi! I have a same problem too. is there any solition for this error?
View ArticleCommented Unassigned: Use of AddConditionalFormat > Unreadable XLS [9460]
Hi,I'm opening/modifying/saving an existing Excel 2010 file. When I don't use conditional formatting > no pb to read it with MS Excel 2010 once I made the modifications. When I use conditional...
View ArticleNew Comment on "Adding DataSet"
Regarding dataSet, How can I add some rows before the dataSet info, such as header or something like that?
View ArticleNew Post: system out of memory exception at Saveas
I have the system out of memory exception at try to save my document, how can i save my workBook? Is a .xlsx with 20 sheets and per sheet have like a 10000 rows and i have groups I used the using...
View ArticleNew Post: system out of memory exception at Saveas
JoseValdez wrote: I have the system out of memory exception at try to save my document, how can i save my workBook? Is a .xlsx with 20 sheets and per sheet have like a 10000 rows and i have groups I...
View ArticleNew Post: Pivot Table creation results in Corrupt Spreadsheet
Hello, I am using ClosedXML 0.76 in VB with VS2013 and I am trying to generate a pivot table from data that was added to a sheet via a Datatable. The Raw data itself gets inserted fine but if I...
View ArticleCommented Unassigned: ClosedXML does not preserve style [9454]
So this is my code```using (var document = new XLWorkbook(root + outFolder + copied)){ var sheet = document.Worksheets.First(); var allRows = sheet.Rows(); foreach (var currentRow in allRows){ var...
View ArticleCommented Unassigned: Unreadable content in Excel file after deleting sheets...
I have a template .xlsx file which I open with ClosedXML, populate with necessary info, and depending on the user options, delete some irrelevant sheets (mostly the empty ones). Then I save the file,...
View ArticleCommented Unassigned: XLWorkbook_Load does not load NamedRanges in specific...
When loading an existing workbook that contains named ranges, ranges are only applied at the Workbook level even if the range is for a specific Worksheet. The crux of the problem is the...
View ArticleCommented Unassigned: Date value as text in excel file [9444]
I am trying to set a text value to one of my columns.Text value is 2015/06/03 15:15Below is the code, that I use to set this columnexcelWorkSheet.Cell(j + 1, k).SetDataType(XLCellValues.Text);...
View ArticleCommented Unassigned: Worksheet.PivotTables is always empty [9378]
My .xlsx file contains a Pivot Table. But I can't get access to it via `Worksheet.PivotTables` property.This is my sample code:```using (var excel = new XLWorkbook(sourceFile,...
View ArticleCreated Unassigned: After inserting a row in a table, the files grows very...
I have an excel file that has a table with range A:K and has few rows say 100. So the cells with A1..K100 has values. But the same sheet has values at some random cells like Q6000. The file was of...
View Article