macro unmerge all cells code example Example: excel vba unmerge sheet ThisWorkbook.Worksheets("Sheet1").Cells.UnMerge