New Comment on "Sheet Protection"
This way of protect did not work for me. Here is my code snippet: _wb = new XLWorkbook(); var ws =_wb.Worksheets.Add(finalDataTable, "Data Export"); ws.Protect("passw0rd!"); var path = ExportFilePath;...
View ArticleNew Post: Is it possible to change text orientation?
Hi people, ClosedXML is really the real deal, but i'm having some trouble to change orientation of a cell text. 90 degrees is what I need, but i'm not seeing how. Is there a way to do that? Best Regards.
View ArticleNew Post: Is it possible to change text orientation?
https://closedxml.codeplex.com/wikipage?title=Styles%20-%20Alignment
View ArticleNew Post: OpenXML, OutOfMemory with large report.
Hello, faced with the problem: WebSite (ASP.Net, MVC 3 +ClosedXML), When building a large report (~250K rows, 30 columns), I receive an error "System.Out Of Memory". Is there a way to prevent this error?
View ArticleNew Post: OpenXML, OutOfMemory with large report.
I understand that for 250K lines of the report too much, but it is a requirement of the customer to a specific report.
View ArticleNew Post: Normal Style
Is it possible to modify the "normal" style under the styles block in excel? I know you can set and change the default style, but we need to modify the "normal" style. Example: If I open excel the...
View ArticleNew Post: File size increase when updating a file
I have a file that its original size is 68KB, using ClosedXML to open and update two fields the file size jumps to 1007KB. My problem is that if im updating circa 500 rows in a spreadsheet what will...
View ArticleNew Post: ConditionalFormatting StopIfTrue / Priority
Can Please share the code, which support StopIfTrue property
View ArticleNew Post: Mac / Numbers can't read generated file
I'm using ClosedXML to create and download .xlsx files on the fly from my asp.net (c#) webform application. All is well if I use Excel in Windows to read the file but that same file isn't read by...
View ArticleNew Post: Any easy way to format a particular column to be 'number' instead...
static void CreateExcelFromDataTable(DataTable dtExcel, string spName) { XLWorkbook wb = new XLWorkbook(); wb.Worksheets.Add(dtExcel, "dtExcel"); string fileName = "ExcelFiles/" + spName + "_" +...
View ArticleNew Post: File size increase when updating a file
I have the same problem. Any solution?
View ArticleCreated Unassigned: Closed XML Formatting Issue [9496]
When I cloned a copy of excel I have cells with no formatting means it's just plain white cells without any borders. But once I save the excel using C# workbook.save() some weird lines...
View ArticleNew Comment on "Hide Unhide Row(s)/Column(s)"
@Alavudeen_soft Did you get any answer for this?
View ArticleNew Comment on "Pivot Table example"
Hi, I am creating a Pivot Table, and I want to put the resulting table in a tabular form to show the row labels instead of the legend "row labels" and so with the columns. I have tried with the...
View ArticleNew Comment on "How do I deliver an Excel file in ASP.NET?"
HttpResponse httpResponse = Response; Error: cannot implicitly convert type 'system.web.httpResponseBase' to 'System.Web.HttpResponse' so this will not work at all. I had to change it to: HttpResponse...
View ArticleCreated Unassigned: Datetime is 1 day off [9497]
Greetings,I'm trying to write a datetime to a cell using ClosedXML. I set the IXLCell DataType to be XLCellValues.DateTime, and the value to be a new DateTime. I also set the number format id to...
View ArticleEdited Unassigned: Datetime is 1 day off [9497]
Greetings,I'm trying to write a datetime to a cell using ClosedXML. I set the IXLCell DataType to be XLCellValues.DateTime, and the value to be a new DateTime. I also set the number format id to 14...
View ArticleNew Post: DateTime is one day off
Greetings, I'm trying to write a datetime to a cell using ClosedXML. I set the IXLCell DataType to be XLCellValues.DateTime, and the value to be a new DateTime. I also set the number format id to 14...
View ArticleReviewed: ClosedXML 0.76.0 (Aug 01, 2016)
Rated 5 Stars (out of 5) - Excellent tool, prefectly works...
View ArticleNew Post: Custom DataValidation
Hello I try to used the custom datavalidation var validate = worksheet.Column(count).AsRange().SetDataValidation(); validate.Custom("###+###"); where "###+###" is string an d # is a number (exemple :...
View Article