Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

New Post: InsertRowsBelow bug?

$
0
0
I create a sheet and named 'Settings' and named the cell 'A1:B1' is '_TestMergeClone'.
When I use this like (.xlsm)
workbook.Worksheet("Settings").Range("_TestMergeClone").InsertRowsBelow(10);

there no rows affect.

but when I used like
workbook.Worksheet("Settings").Range("A1").InsertRowsBelow(10);

It works well.

Something i used wrong?



And another question.
eg.
when the first row has many merged cell
and I userd InsertRowsBelow to clone some rows but the clones is not merged,
what can I do to clone the same struct rows under the first row? Thanks。
:)

Viewing all articles
Browse latest Browse all 1877

Trending Articles



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