Quantcast
Channel: EPPlus Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 2262

Created Unassigned: Exception with ExcelRange.Copy and merged cells (still present in 59920b4b5f9f) [15234]

$
0
0
This relates to the work item [15200](https://epplus.codeplex.com/workitem/15200) marked as solved. I slightly modified the test case and __the problem is still there__.

Exception:
__"Can't merge and already merged range"__

It looks like when inserting new rows, the merged cells collection is not updated thus provoking merged cells collision exceptions later on.

See new updated test project.


Illustration of the problem:

input:
row 1-3: merged cells
row 4-5: merged cells

operation:
- insert 3 rows after row 3. Rows 4-5 are shifted downwards - they now become rows 7-8.
- copy rows 1-3 to the empty inserted rows (rows 4-6) ==> exception !!!


Viewing all articles
Browse latest Browse all 2262

Trending Articles



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