New Post: Copy/combine multiple spreadsheets to one workbook caused exception
I have x number of workbooks containing sheetNamePreValidate and sheetNameDetailEntry . I want to copy and append the data from each of the workbooks to a single set of spreadsheets within a template...
View ArticleNew Post: Suppress "... cell is formatted as text or preceded by an...
How do you suppress the green arrow when you add the worksheet from a datatable, such as:Workbook.Worksheets.Add(dataTable, "Some Name");
View ArticleCreated Unassigned: Function CHOOSE not implemented [9128]
Hi, We are using your library to parse an Excel file. This file uses the "CHOOSE" function in several cells and it is not implemented. I have implemented this function and I wonder if it is possible to...
View ArticleNew Post: Is there anyway to get worksheet name by index instead of alphabate?
Hi, GetWorksheetNames() method of ExcelQueryFactory returns worksheet names by alphabate. Is there anyway to get the worksheet name by index in case of multiple worksheets (so that I can get the first...
View ArticleCommented Unassigned: Pivot Tables Values Problem [9088]
Based on the example [Pivot Tables](https://closedxml.codeplex.com/wikipage?title=Pivot%20Table%20example) , do the following steps to reproduce the problemExcellent example . It works perfect, but if...
View ArticleNew Post: Is there anyway to get worksheet name by index instead of alphabate?
ExcelQueryFactory is part of LinqToExcel. If you are using LinqToExcel you should ask your question over there. This package ClosedXML is a totally different package Here is how you would do it in...
View ArticleCommented Unassigned: Function CHOOSE not implemented [9128]
Hi, We are using your library to parse an Excel file. This file uses the "CHOOSE" function in several cells and it is not implemented. I have implemented this function and I wonder if it is possible to...
View ArticleNew Post: Is there anyway to get worksheet name by index instead of alphabate?
Thanks for pointing, it's my bad. I will move the question to right discussion forum.
View ArticleCommented Unassigned: Could not load type...
Error occurs while using saveAs method:Could not load type 'DocumentFormat.OpenXml.Spreadsheet.SmartTags' from assembly 'DocumentFormat.OpenXml, Version=2.5.5631.0, Culture=neutral,...
View ArticleNew Post: Formula issue after worksheet copy
Hi. private static readonly Regex R1C1Regex = new Regex( //@"(?<=\W)([Rr]\[?-?\d{0,7}\]?[Cc]\[?-?\d{0,7}\]?)(?=\W)" // R1C1 //+ @"|(?<=\W)([Rr]\[?-?\d{0,7}\]?:[Rr]\[?-?\d{0,7}\]?)(?=\W)" // R:R...
View ArticleNew Post: Displaying the DataTextField of a Hyperlink in a gridview when...
I have a Gridview that contains a Hyperlink field, and I want to display the DataTextField of the Hyperlink in the Excel spreadsheet that I create using ClosedXML. However when I use the code below the...
View ArticleNew Post: DisplayFormat field attribute
Hello! Does ClosedXML support attribute [DisplayFormat(DataFormatString = "...")]? For example, I have the classpublic class ReportItem { [Display(Name = "Variance percent")]...
View ArticleNew Post: Formula issue after worksheet copy
First of all i like to appriciate for such a useful functionality. I like to use it, My requirement is as below.. (1)Working on a wpf c#.net application with mvvm design pattern. Having the requirement...
View ArticleNew Post: Interoperability with free spreadsheets
ClosedXML 0.68 or better can read/write xlsx files fine for Excel 2007 or better. Free spreadsheets would be best for my needs if they could interoperate with ClosedXML. Does one exist that simply...
View ArticleNew Post: Formula issue after worksheet copy
I am facing the problem with the following var workbook = new XLWorkbook(); var worksheet = workbook.Worksheets.Add("Sample Sheet"); worksheet.Cell("A1").Value = "Hello World!";...
View ArticleCommented Issue: Cannot Save() after SaveAs() on new created files [8440]
If a new workbook is created and saved with SaveAs(), it should be possible to use Save().An exception is thrown at line 408 of XLWorkbook.csif (_loadSource == XLLoadSource.New) throw new...
View ArticleNew Post: How to display excel file without using SaveAS method
First of all i like to appriciate for such a useful functionality. I like to use it, My requirement is as below.. (1)Working on a wpf c#.net application with mvvm design pattern. Having the requirement...
View ArticleCreated Unassigned: Could not load file or assembly 'DocumentFormat.OpenXml,...
i am getting the following error, can someone guide me what i am missingCould not load file or assembly 'DocumentFormat.OpenXml, Version=2.0.5022.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or...
View ArticleCreated Unassigned: Using IF formula with cell referenced produces invalid...
This code will produce the file which would be impossible to open in Excel 2010 x32 (Russian) properly:```using (var workbook = new XLWorkbook ()){ var worksheet = workbook.Worksheets.Add ("Report");...
View ArticleNew Post: How to display excel file without using SaveAS method
(1) The file that defines where the excel files get created is CreateFiles.cs in the Creating directory of the ClosedXML_Examples project. (2) I have created Excel files with over 100,000 rows no problem.
View Article