Sub Bordures_III()
Dim p As Range, t
With Cells(8, Columns.Count).Resize(1001)
.Formula = "=REPT(1600,C8<>"""")*1"
Set p = .SpecialCells(xlCellTypeFormulas, 1)
t = Split(p.EntireRow.Address, ",")
For i = 0 To UBound(t)
With Rows(t(i)).Resize(, 17).Borders
.Weight = 3: .Color = RGB(128, 128, 128)
End With
Next
.ClearContents
End With
End Sub