New Post: autofit row height after setting height value
I don't think that can be done. The reason you can do it in Excel is because it's row autofit works with text wrap. ClosedXML's adjust to contents only takes into account the number of lines in cell...
View ArticleNew Post: autofit row height after setting height value
Thanks for the very quick reply :) No, I don't think there is a way to do it without Cells->Format->Autofit height.http://excelribbon.tips.net/T010735_Automatic_Row_Height_for_Wrapped_Text.html...
View ArticleNew Post: autofit row height after setting height value
Not for a single row. In your case I suggest you set the row height only for the rows you want them to have it and leave the rest with their default.
View ArticleNew Post: autofit row height after setting height value
hmm.. aite. I have one last question that is not related to height, but data validation. I have two worksheets. Worksheet#1 have two cells, let's say they are A1 and B1. A1 is a datavalidation from a...
View ArticleNew Post: autofit row height after setting height value
Indirect is not implemented. Did you check the data validation and auto filters pages in the documentation?
View ArticleNew Post: autofit row height after setting height value
Ah, bummer :/ Yeah, I read through the documentation and was just hoping there was a way around it. Just because the cells do have formulas cellWithFormulaA1.FormulaA1 = "=A2+$B$2"; I was hoping there...
View ArticleNew Post: autofit row height after setting height value
I guess I don't know what you mean. You can have a dropdown based on values from a set of cells. It doesn't matter if those cells get their value from formulas.
View ArticleCreated Unassigned: Cannot remove OutlineLevel [9238]
I have a grouping (outline) in the original sheet being loaded and try to remove that grouping, but the grouping remains.This works fine when the OutLine is added programatically and then removed...
View ArticleCreated Unassigned: Creating a new macro-enabled Excel spreadsheet does not...
I need to create a new XSLM spreadsheet document. I am using this code. The resulting file cannot be opened by Excel 2010 and it is actually an XLSX file. I am able to open when I change its extension...
View ArticleNew Post: Does ClosedXML/Open XML SDK work with xlsm files?
I need to create new XLSM file and modify existing file. I don't need to add new VBA code. I've used the sample code and the resulting file is actually an XLSX file. I've opened an...
View ArticleNew Post: Issue enumerating Pivot tables in xlsx
Hi. Anyone has issues accessing Pivot tables? .WorkSheet.PivotTables.Count() returns 0 .. ... yet, when I access the xlsx via OpenXML, i can see the Pivot... using ClosedXML ver 0.69.1.0 on Framework...
View ArticleCommented Unassigned: Creating a new macro-enabled Excel spreadsheet does not...
I need to create a new XSLM spreadsheet document. I am using this code. The resulting file cannot be opened by Excel 2010 and it is actually an XLSX file. I am able to open when I change its extension...
View ArticleNew Post: Run macro whit closedxml
Hi, I can't find the way to run a macro of excel without using the interop library. Can anyone help? Thanks in advance Jorge
View ArticleNew Comment on "Using Hyperlinks"
External links to paths/filenames containing whitespaces don't work as expected. Excel (200/) will open with an error and removes the hyperlinks. Converting the whitespaces to %20 (via System.Uri)...
View ArticleNew Comment on "Using Hyperlinks"
External links to relative paths/filenames containing whitespaces don't work as expected. Excel (200/) will open with an error and removes the hyperlinks. Converting the whitespaces to %20 (via...
View ArticleNew Post: Does ClosedXML/Open XML SDK work with xlsm files?
I've added a patch that enables creating and modifying XLSM files:https://closedxml.codeplex.com/workitem/9245 Hope it helps
View ArticleNew Post: null exception when opening empty excel
Hi , I have null exception when I try to open attached file this way var workbook = new XLWorkbook("C:\template.xlsx");file on SO...
View ArticleCreated Unassigned: Bug - Range.CopyTo issue with partly overlapping source...
When a source range spanning multiple rows and columns is copied to a target range which partly overlaps the source range, some resulting cells are blanked out and borders are not formatted. The issue...
View ArticleUpdated 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