ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   un merging (https://www.excelbanter.com/excel-programming/286645-un-merging.html)

Noctos[_8_]

un merging
 
do any of you know how to unmerge a cell


---
Message posted from http://www.ExcelForum.com/


Chip Pearson

un merging
 
Noctos,

Try something like the following, where A1 is the top left cell
of the merged area.

Range("A1").MergeCells = False



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Noctos" wrote in message
...
do any of you know how to unmerge a cell


---
Message posted from http://www.ExcelForum.com/




Mike Fogleman

un merging
 
With VBcode, select the cell to unmerge

With Selection
.HorizontalAlignment = xlLeft
.VerticalAlignment = xlBottom
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.MergeCells = False
End With


"Noctos" wrote in message
...
do any of you know how to unmerge a cell


---
Message posted from http://www.ExcelForum.com/





All times are GMT +1. The time now is 05:01 AM.

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