Unmerge cell range

Description

Unmerges the selected cell range.

(function()
{
    Api.GetActiveSheet().GetRange("C5:D10").UnMerge();
})();

Methods used: GetActiveSheet, GetRange, UnMerge

Reference Microsoft VBA macro code

Sub example()
    Range("C5:D10").UnMerge
End Sub

Result

Unmerge-beforeUnmerge-after

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).