Sub Macro1()
Dim Col As Integer, Lig As Long, X As Long, Y As Range
Col = ActiveCell.Column
Lig = Array(3, 4, 6, 6, 8, 13, 15, 19, 21, 24, 26, 30, 33, 37)
For X = 0 To UBound(Lig) - 1 Step 2
With Range(Cells(Lig(X), Col), Cells(Lig(X + 1), Col))
With .Borders(xlEdgeLeft)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlHairline
End With
With .Borders(xlEdgeTop)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlMedium
End With
With .Borders(xlEdgeBottom)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlMedium
End With
With .Borders(xlEdgeRight)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlHairline
End With
.Borders(xlInsideVertical).LineStyle = xlNone
End With
Next X
End Sub