This project has moved and is read-only. For the latest updates, please go here.

Unable to un-merge cells

Jul 29, 2013 at 4:51 PM
I am trying to un merge a cell range.
worksheet.Cells[row,scol,row,ecol].Merge = false;
where row =24 scol=2, ecol=6

Error message is
"Range is not fully merged. Specify the exact range"

However, I want to clear any merge cell in the specified range. (above)
In other words I do not know if or what may be merged in that range.

How do I clear a cell range?