I unmerged about 500 merged cells in a worksheet by running the below macro. I did this so that I could run another macro that was giving me problems due to these 500 merged cells. But after I run the macro, I need to merge all those 500 cells again. Is there a macro that can do that? I do not want to waste hours merging all those 500 cells that I unmerged. Thanks
Sub UnmergeAllCells()
ActiveSheet.Cells.UnMerge
End Sub
Sub UnmergeAllCells()
ActiveSheet.Cells.UnMerge
End Sub