I am attempting to select a set number of rows in a changing location to merge. I cannot seem to figure it out. I have searched google for a half hour trying different ways of doing it. This is so I can merge and format the new combined 9 cells. It is under a button already and is going to be pulling information from a user form. What I am looking for is how to set the range. I am open to all suggestions thanks in advance.
Worksheets("CompList").Cells(Rows.Count, 1).End(xlUp).Select 'selects last row of information in row "A"
Cells(Selection.Row + BusHeight, Selection.Column).Select 'adds number of lines for business to add to get next empty slot
Selection.Value = 1 'listdivision.Value
Range(Cells(Selection.Row, Selection.Column), Cells(Selection.Row + 1, Selection.Column), Cells(Selection.Row + 1, Selection.Column), Cells(Selection.Row + 1, Selection.Column), Cells(Selection.Row + 1, Selection.Column), Cells(Selection.Row + 1, Selection.Column), Cells(Selection.Row + 1, Selection.Column), Cells(Selection.Row + 1, Selection.Column)).Select
With Selection
.HorizontalAlignment = xlLeft
.VerticalAlignment = xlTop
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = True
End With