Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Document-Processing-toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -6776,6 +6776,9 @@
<li>
<a href="/document-processing/excel/excel-library/net/faqs/how-to-merge-cells-preserving-topleft-value-and-format-in-xlsio">How to merge cells preserving topleft value and format in XlsIO?</a>
</li>
<li>
<a href="/document-processing/excel/excel-library/net/faqs/why-are-cells-not-merged-when-inserting-a-row-or-column">Why are cells not merged when inserting a row or column?</a>
</li>
</ul>
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: Why aren’t cells merged when inserting rows or columns? | Syncfusion
description: This FAQ explains why cells aren’t merged when inserting rows or columns using Format as Before/After, consistent with Microsoft Excel behavior.
platform: document-processing
control: XlsIO
documentation: UG
---

# Why are cells not merged when inserting a row or column?

This is the intended behavior in Syncfusion XlsIO that aligns with Microsoft Excel. When inserting a row with the "Format as Before" or "Format as After" option, cells in the inserted row or column are not merged, even when a row above or below the inserted row contains merged cells.

In Microsoft Excel, while inserting rows or columns with formatting options, the merged cells from the adjacent rows are not copied to the inserted row. This means the inserted row will have unmerged cells, preserving the original Excel behavior.