I want to highlight a few cells and merge them
I recorded this macro which has cell selection embedded in it.
How to I change it so that it takes the cells I currently have highlighted and merges them
TIA
DougP
< I Built one
I recorded this macro which has cell selection embedded in it.
How to I change it so that it takes the cells I currently have highlighted and merges them
Code:
Range("J8:K8").Select ' change this to my selection
With Selection
.HorizontalAlignment = xlGeneral
.VerticalAlignment = xlBottom
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = True
End With
DougP
![[r2d2] [r2d2] [r2d2]](/data/assets/smilies/r2d2.gif)