ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   unmerge cells (https://www.excelbanter.com/excel-programming/352703-unmerge-cells.html)

Brian Matlack[_53_]

unmerge cells
 

Hi!
I have a sheet that contains 50 merged cell groups and I want to
unmerge them all at once. When I record the macro I select the entire
sheet and then unmerge the cells all at once. The recorded macro is
about a mile long.

Is there a shorter code that would take care of this for me?

As always, this rookie would be grateful for any and all help.
Thanks!!!


--
Brian Matlack
------------------------------------------------------------------------
Brian Matlack's Profile: http://www.excelforum.com/member.php...fo&userid=3508
View this thread: http://www.excelforum.com/showthread...hreadid=509589


JE McGimpsey

unmerge cells
 
One way:

Cells.UnMerge


In article
,
Brian Matlack
wrote:

Hi!
I have a sheet that contains 50 merged cell groups and I want to
unmerge them all at once. When I record the macro I select the entire
sheet and then unmerge the cells all at once. The recorded macro is
about a mile long.

Is there a shorter code that would take care of this for me?

As always, this rookie would be grateful for any and all help.
Thanks!!!



All times are GMT +1. The time now is 03:38 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com