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

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 Article


New 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 Article


Created 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 Article

New 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 Article

Commented 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 Article


New 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 Article

Commented 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 Article

New 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 Article


Commented 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 Article


New 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 Article

New 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 Article

New Post: DisplayFormat field attribute

Hello! Does ClosedXML support attribute [DisplayFormat(DataFormatString = "...")]? For example, I have the classpublic class ReportItem { [Display(Name = "Variance percent")]...

View Article

Image may be NSFW.
Clik here to view.

New 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 Article


New 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 Article

New 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 Article


Commented 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 Article

New 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 Article


Created 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 Article

Created 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 Article

New 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
Browsing all 1877 articles
Browse latest View live