OK try this
Sub Test()
Dim LastRow As Long, Y As Long
LastRow = Sheet1.Cells(Rows.Count, "A").End(xlUp).Row
For Y = 11 To LastRow Step 2
Range("A" & Y & ":AG" & Y).Borders(xlDiagonalDown).LineStyle = xlNone
Range("A" & Y & ":AG" & Y).Borders(xlDiagonalUp).LineStyle = xlNone
With Range("A" & Y & ":AG" & Y).Borders(xlEdgeLeft)
.LineStyle = xlContinuous
.Weight = xlMedium
End With
With Range("A" & Y & ":AG" & Y).Borders(xlEdgeTop)
.LineStyle = xlContinuous
.Weight = xlMedium
End With
With Range("A" & Y & ":AG" & Y).Borders(xlEdgeBottom)
.LineStyle = xlContinuous
.Weight = xlMedium
End With
With Range("A" & Y & ":AG" & Y).Borders(xlEdgeRight)
.LineStyle = xlContinuous
.Weight = xlMedium
End With
Range("A" & Y & ":AG" & Y).Borders(xlInsideVertical).LineStyle = xlNone
Range("A" & Y & ":AG" & Y).Borders(xlInsideHorizontal).LineStyle = xlNone
Next Y
End Sub
Bookmarks