SpreadProcessing: If Workbook's History is disabled Unmerge command doesn't work
If Spreadsheet's history is not enabled, merged cells cannot be unmerged.
Workaround: Enable the History before calling Unmerge():
workbook.History.IsEnabled = true;
worksheet.Cells[0, 0, 0, 4].Unmerge();
workbook.History.IsEnabled = false;
2 comments
ADMIN
Tanya
Posted on:19 Sep 2017 12:37
Hello,
I am afraid that a similar behavior currently cannot be implemented since the Unmerge command will be executed only when the History is enabled.
Regards,
Tanya
G.K. Raju
Posted on:14 Sep 2017 09:34
what if I do not want unmerge operation to be part of undo operation?
I want to disable history for unmerge part.