No problem. Thanks for letting us know that it works for you.
If you need anything changing, you know where to find us.
Just in case you want to change the sheets to work on, maybe the following will be of help.
Sub Bottom_Cell_Border_And_Delete_B()
Dim j As Long, lr As Long, a As String, shArr
a = ActiveSheet.Name
shArr = Array("Sheet4", "Sheet5", "Sheet6", "Sheet7", "Sheet8") '<---- Add or remove sheet names as required.
Application.ScreenUpdating = False
For i = LBound(shArr) To UBound(shArr)
With Sheets(shArr(i))
lr = .Range("B:B").Find(What:="*", LookIn:=xlValues, SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row + 1
.Range("B" & lr).Resize(50).EntireRow.Delete
.Cells(.Cells(.Rows.Count, 2).End(xlUp).Row, 2).Resize(, 6).Borders(xlEdgeBottom).Weight = xlMedium
End With
Next i
Sheets(a).Activate
Application.ScreenUpdating = True
End Sub