Sub Cutdon()
Dim dg, Ct
Dim Cl2 As Range
dg = 12
With Sheet2.Rows("11:65536")
.RowHeight = 21
.MergeCells = False
End With
Do
Set Cl2 = Sheet2.Cells(dg, 1).End(xlDown)
If Cl2.Row = 65536 Then Exit Do
Cl2.Resize(1, 24).Cut Sheet2.Cells(dg, 1)
dg = dg + 1
Loop
Sheet2.Range("Z12:BV12").Copy
Sheet2.Range("Z12:BV" & dg ).PasteSpecial Paste:=xlPasteFormats
Sheet2.Range("A" & dg + 1 & ": BV65536").Clear
With Sheet2.Cells(dg, 1).Resize(, 24).Borders(xlEdgeBottom)
.LineStyle = xlContinuous
.Weight = xlThick
.ColorIndex = xlAutomatic
End With
With Sheet2.Cells(dg, "Z").Resize(, 49).Borders(xlEdgeBottom)
.LineStyle = xlContinuous
.Weight = xlThick
.ColorIndex = xlAutomatic
End With
End Sub