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

New Post: Disable AutoFilter in Table

I assume you're talking about worksheet's autofilter and not a table filter...var wb = new XLWorkbook(); var ws = wb.AddWorksheet("Sheet1"); ws.FirstCell().SetValue("A") .CellBelow().SetValue(1)...

View Article


Commented Unassigned: Index of RowLabel and ColumnLabel in PivotTable [9326]

File XLWorkbook_Save.csLine 2222Creation of RowLabels```var f = new Field {Index = pt.Fields.IndexOf(xlpf)};```Line 2240```var f = new Field {Index = pt.Fields.IndexOf(xlpf)};```The index of RowLabels...

View Article


New Post: Insert Recordset to Existing Worksheet

Let me preface this with the fact that I'm a SQL DBA and not a programmer, so my code may not be the most efficient. With that said, I'm moving away from Interop.Excel for many reasons but it seems I'm...

View Article

New Post: Insert Recordset to Existing Worksheet

I need a way to reproduce the problem. Create a small function that creates a recordset, populates it with 2 rows and then inserts the recordset in the worksheet. Thanks

View Article

Source code checked in, #1571ed8f1d75c98f7e6f0c6e2047d73f5cfe0a95

Fix row/column order in pivot table fields

View Article


Closed Unassigned: Index of RowLabel and ColumnLabel in PivotTable [9326]

File XLWorkbook_Save.csLine 2222Creation of RowLabels```var f = new Field {Index = pt.Fields.IndexOf(xlpf)};```Line 2240```var f = new Field {Index = pt.Fields.IndexOf(xlpf)};```The index of RowLabels...

View Article

Released: ClosedXML 0.71.2 (May 30, 2014)

More memory and performance improvements. Fixed an issue with pivot table field order.

View Article

Created Release: ClosedXML 0.71.2 (May 30, 2014)

More memory and performance improvements.Fixed an issue with pivot table field order.

View Article


Commented Unassigned: workbook.SaveAs hangs for ever [9263]

Hi, I am creating simple xlsx using template and then saving it this way :> workbook.SaveAs(outputPath);the problem is , that when I open my website in 3 tabs, and click in each to generate my...

View Article


Source code checked in, #6284cf3c3991c258e1616c798e5ca9b82b0cd130

More performance improvements when saving.

View Article

New Post: Insert Recordset to Existing Worksheet

This should work for you and it's all that's happening when the process runs. the Recordset variable could have 0-80k rows. Since this script is being run as a task in SSIS I'm not sure how good of a...

View Article

New Post: Insert Recordset to Existing Worksheet

You're passing a string to InsertData. You need to pass some kind of collection to it (an array, list, data table, linq query, or anything that implements IEnumerable). Take a look at:...

View Article

New Post: Cell Merge Performance

First off, after working with OpenOfficeXML for a while, I want to thank you for ClosedXML - it truly has made Excel document reading / writing a breeze. All pandering aside, I could use some help with...

View Article


Source code checked in, #eb1ed478e50e157ab61f7e090c09482268912435

Make public range.Merge(Boolean checkIntersects)

View Article

New Post: Cell Merge Performance

Pick up the latest source code, it exposes range.Merge(Boolean checkIntersects) which allows you to turn off a check to see if the new merge breaks another merge. If you know what you're doing (you...

View Article


Image may be NSFW.
Clik here to view.

Updated Wiki: Home

Project DescriptionClosedXML makes it easier for developers to create Excel 2007/2010 files. It provides a nice object oriented way to manipulate the files (similar to VBA) without dealing with the...

View Article

New Comment on "Column Width and Styles"

MichaelHawker: https://closedxml.codeplex.com/wikipage?title=Adjust%20Row%20Height%20and%20Column%20Width%20to%20Contents&referringTitle=Documentation

View Article


Reviewed: ClosedXML 0.71.2 (Jun 02, 2014)

Rated 4 Stars (out of 5) - Amazing ease of use with Excel!

View Article

New Post: Cell Merge Performance

That worked perfectly, thanks so much!

View Article

New Comment on "Row Cells"

var backColor = XLColor.FromArgb(255, 255, 246); wb.Worksheet(worksheetNum).RowsUsed().Style.Fill.SetBackgroundColor(backColor); This doesn't limit the background fill to the used columns. How can I...

View Article
Browsing all 1877 articles
Browse latest View live


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