Freezing excel rows doesn't work in version 2.10.0
See original GitHub issueAfter updating to version 2.10.0 from 2.9.1 the option to freeze rows using a pane results in a corrupt excel file.
.NET Framework 4.7.2 DocumentFormat.OpenXml 2.10.0
SheetView sheetView = worksheet.SheetViews.Elements<SheetView>().FirstOrDefault();
Selection selection = sheetView.GetFirstChild<Selection>();
Pane freezePane = new Pane()
{
VerticalSplit = topRows,
TopLeftCell = $@"A{topRows + 1}",
ActivePane = PaneValues.BottomLeft,
State = PaneStateValues.Frozen
};
sheetView.InsertBefore(freezePane, selection);
Observed
Excel file can no longer be opened.
Expected
The excel file to work like version 2.9.1
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Freezing excel rows doesn't work in version 2.10.0 #680
After updating to version 2.10.0 from 2.9.1 the option to freeze rows using a pane results in a corrupt excel file.
Read more >Trouble Freezing Top Row and First Column Together
Select the cell below the rows and to the right of the columns you want to keep visible when you scroll. Select View...
Read more >How to Fix Freeze Panes not Working Issue
By formatting the data like a table instead of freezing the top row, you can solve this problem. For this,. Open the Home...
Read more >Freeze columns or rows in Microsoft Excel - YouTube
To keep an area of a worksheet visible while you scroll to another area of the worksheet in Microsoft Excel, go to the...
Read more >R for Windows FAQ
2.1 Where can I find the latest version? Go to any CRAN site (see https://CRAN.R-project.org/mirrors.html for a list), navigate to the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
A 2.10.1 release is now available on NuGet. Thanks for the report!
I’m looking at cutting a 2.10.1 release to get this fix out quicker than a 2.11 release