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

Created Unassigned: Auto Height for Rows [9432]

Great library but one trouble here - if you like to copy and modify rows often you touch row's height property . Then library sets height as CustomHeight. So it seems the most simple way looks like to...

View Article


New Comment on "Adjust Row Height and Column Width to Contents"

Is there any way to set the row height for each row so it fits all the text from a certain column (with word wrap enabled)?

View Article


Created Unassigned: Errors in Formulas: improve API for graceful handling [9433]

A customer-provided Excel document contained a Formula referencing a second file using a formula like```='C:\Temp\[A.xlsx]Country'!$A$3```which results in a `System.Exception`: Identifier...

View Article

New Post: Cell metadata?

I'm building an app that reads a data dictionary file and uses ClosedXML to build a fairly complex Excel workbook based on its contents. I need to store some meta-information at the cell level in a...

View Article

New Comment on "Documentation"

Hello I need Help with this. In office interop, I use: ((Range)excelWorksheet.Rows[RowIndex + 1]).Select(); ((Range)excelWorksheet.Rows[RowIndex + 1]).Insert(XlInsertShiftDirection.xlShiftToRight,...

View Article


Created Unassigned: Extra empty cells added when inserting comment [9434]

When adding a comment to a cell extra empty cells are added in the excel sheet which are not touched by the code.With the following code:```var workbook = new XLWorkbook();var worksheet =...

View Article

Created Unassigned: COUNTIF function [9435]

The following code```XLWorkbook xw = new XLWorkbook(); IXLWorksheet ws = xw.AddWorksheet("ASheet"); ws.Cell("A1").Value = 2; ws.Cell("A2").Value = 1; ws.Cell("A3").Value = 3; ws.Cell("A4").Value = 1;...

View Article

New Post: Save choking on formula in GetA1Column

I have a spreadsheet that was working as a template (using ClosedXML to add data to the template). After opening the template with Excel 2010 and saving it (no other changes), it began to fail on...

View Article


Edited Unassigned: COUNTIF function [9435]

The following code```XLWorkbook xw = new XLWorkbook(); IXLWorksheet ws = xw.AddWorksheet("ASheet"); ws.Cell("A1").Value = 2; ws.Cell("A2").Value = 1; ws.Cell("A3").Value = 3; ws.Cell("A4").Value = 1;...

View Article


New Post: About EXCEL's chart programming

Dear colleagues ! Do I correctly understand that ClosedXML does not work with charts ? That is, ClosedXML has not methods to add/delete chart, to manipulate chart's data, etc. Or I have missed...

View Article

New Post: Inserting a formula in a TotalsRow

Hi, I have a simple Excel sales report, with 4 columns: customer, turnover, margin, and margin percentage. I have added a TotalsRow (awesome functionality by the way), with sums of the turnover and...

View Article

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

Created Unassigned: Traverse merged cells? [9436]

Currently if we use cell.CellRight(), we can traverse the cells as if they were unmerged. This is fine. However, this imposes strict requirements on file structure of my users. If they choose to merge...

View Article


Created Issue: Loading an XLSX file fails with NullReferenceException [9437]

NullReferenceException occurs in XLWorkbook_Load method when opening attached XLSX file:```var xl new XLWorkbook(path);```> at...

View Article

Edited Issue: Loading an XLSX file fails with NullReferenceException [9437]

NullReferenceException occurs in XLWorkbook_Load method when opening attached XLSX file:```var xl = new XLWorkbook("Bug_118703_WriteMatrixToExcelNullReferenceException.xlsx");```> at...

View Article


Created Unassigned: Permission problem using ClosedXML with Microsoft NAV [9438]

I use OpenXML to create Excel Workbooks in Microsoft NAV 2013R2. In my development environment everything works without problems. When I try to execute the function in the customer environment I get a...

View Article

Edited Unassigned: Permission problem using ClosedXML with Microsoft NAV [9438]

I use ClosedXML to create Excel Workbooks in Microsoft NAV 2013R2. In my development environment everything works without problems. When I try to execute the function in the customer environment I get...

View Article


Commented Issue: Loading an XLSX file fails with NullReferenceException [9437]

NullReferenceException occurs in XLWorkbook_Load method when opening attached XLSX file:```var xl = new XLWorkbook("Bug_118703_WriteMatrixToExcelNullReferenceException.xlsx");```> at...

View Article

Created Unassigned: ClosedXML doc can't be open using Spire.Xls [9439]

I want to open a file created by ClosedXML.Excel and then user Spire.XLS to save it as a PDF.The following code creates a simple Excel file using ClosedXML.Excel.If I try to open the file using...

View Article

Created Unassigned: Style.Border.InsideBorder always work at 1st worksheet...

```ws.Range(row1, col1, row2, col2).Style.Border.InsideBorder = XLBorderStyleValues.Thin;```always work at 1st worksheet.```ws.Cell(row1, col1).Style.Border.InsideBorder =...

View Article
Browsing all 1877 articles
Browse latest View live


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