MarkCBB
Active Member
- Joined
- Apr 12, 2010
- Messages
- 497
Hi there VBA pros,
I recorded a macro to Un-merge and Un-wrap text.
when I looked at the macro is was huge, So i am assuming that the following code
repeats itself for each group of cells that is Merged?
I am looking for a loop that will loop until all merged cells are unmerged.
like look until, i think.
I recorded a macro to Un-merge and Un-wrap text.
when I looked at the macro is was huge, So i am assuming that the following code
Code:
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlBottom
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
repeats itself for each group of cells that is Merged?
I am looking for a loop that will loop until all merged cells are unmerged.
like look until, i think.