Sub Example()
Dim wrk As Object
Dim sh As Object
Set wrk = ThisWorkbook
Set sh = wrk.Sheets.Add(, wrk.Sheets(wrk.Sheets.Count))
With sh.Range("A1").Borders(xlEdgeBottom)
.LineStyle = xlContinuous
.Weight = xlThin
.ColorIndex = xlAutomatic
End With
End Sub