Code:
Sub ThirdClass()
Dim Finalrow As Long
i As Double
Finalrow = cells(65536, 1).End(xlUp).Row
For i = 1 To Finalrow
cells(1, 1).Resize(, 5).Font.Bold = True
Next i
End Sub
i want 5th column text=bold
Last edited:
Sub ThirdClass()
Dim Finalrow As Long
i As Double
Finalrow = cells(65536, 1).End(xlUp).Row
For i = 1 To Finalrow
cells(1, 1).Resize(, 5).Font.Bold = True
Next i
End Sub
Sub ThirdClass_V3()
' hiker95, 10/28/2017, ME1029086
Dim Finalrow As Long
Dim i As Long
Finalrow = Cells(65536, 1).End(xlUp).Row
For i = 1 To Finalrow
Cells(i, 1).Resize(, 5).Font.Bold = True
Next i
End Sub
Sub ThirdClass()
Dim Finalrow As Long
Finalrow = Cells(Rows.Count, 1).End(xlUp).Row
Range("A1" & ":E" & Finalrow).Font.Bold = True
End Sub
Sub ThirdClass2()
Dim Finalrow As Long
Finalrow = Cells(Rows.Count, 1).End(xlUp).Row
Range("A1").Resize(Finalrow, 5).Font.Bold = True
End Sub
Sub ThirdClass_V4()
' hiker95, 10/28/2017, ME1029086
Dim Finalrow As Long
Finalrow = Columns("A:E").Find(What:="*", SearchDirection:=xlPrevious, SearchOrder:=xlByRows).Row
Range("A1:E" & Finalrow).Font.Bold = True
End Sub
Sub ThirdClass4()
Range("A1:E" & Range("A" & Rows.Count).End(xlUp).Row).Font.Bold = True
End Sub
Sub ThirdClass5()
Range("A1:E" & Columns("A:E").Find("*", , xlValues, , xlByRows, xlPrevious).Row).Font.Bold = True
End Sub