Trevor3007
Well-known Member
- Joined
- Jan 26, 2017
- Messages
- 675
- Office Version
- 365
- Platform
- Windows
hi,
i have the following code:-
how do I make the 'border's black (please )?
MTIA
Trevor3007
i have the following code:-
Code:
Sub FormatRange() Application.ScreenUpdating = False
Dim LastRow As Long
LastRow = Cells.Find("*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row
Dim lCol As Long
lCol = ActiveSheet.UsedRange.Columns.Count
With Range(Cells(1, 1), Cells(LastRow, lCol))
.Rows.RowHeight = 20
.Columns.ColumnWidth = 14
.Font.Name = "Calibri"
.Font.Size = 20
.Borders.LineStyle = xlDouble
End With
Application.ScreenUpdating = True
End Sub
how do I make the 'border's black (please )?
MTIA
Trevor3007
Last edited: